the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -677,10 +677,10 @@ static int iowarrior_release(struct inode *inode, struct file *file)
|
||||
return retval;
|
||||
}
|
||||
|
||||
static unsigned iowarrior_poll(struct file *file, poll_table * wait)
|
||||
static __poll_t iowarrior_poll(struct file *file, poll_table * wait)
|
||||
{
|
||||
struct iowarrior *dev = file->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
if (!dev->present)
|
||||
return POLLERR | POLLHUP;
|
||||
|
@@ -409,10 +409,10 @@ exit:
|
||||
/**
|
||||
* ld_usb_poll
|
||||
*/
|
||||
static unsigned int ld_usb_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t ld_usb_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct ld_usb *dev;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
dev = file->private_data;
|
||||
|
||||
|
@@ -224,7 +224,7 @@ static ssize_t tower_write (struct file *file, const char __user *buffer, size_t
|
||||
static inline void tower_delete (struct lego_usb_tower *dev);
|
||||
static int tower_open (struct inode *inode, struct file *file);
|
||||
static int tower_release (struct inode *inode, struct file *file);
|
||||
static unsigned int tower_poll (struct file *file, poll_table *wait);
|
||||
static __poll_t tower_poll (struct file *file, poll_table *wait);
|
||||
static loff_t tower_llseek (struct file *file, loff_t off, int whence);
|
||||
|
||||
static void tower_abort_transfers (struct lego_usb_tower *dev);
|
||||
@@ -509,10 +509,10 @@ static void tower_check_for_read_packet (struct lego_usb_tower *dev)
|
||||
/**
|
||||
* tower_poll
|
||||
*/
|
||||
static unsigned int tower_poll (struct file *file, poll_table *wait)
|
||||
static __poll_t tower_poll (struct file *file, poll_table *wait)
|
||||
{
|
||||
struct lego_usb_tower *dev;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
dev = file->private_data;
|
||||
|
||||
|
Reference in New Issue
Block a user