the rest of drivers/*: annotate ->poll() instances

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-07-03 06:39:46 -04:00
commit afc9a42b74
144 changed files with 257 additions and 256 deletions

View file

@ -1784,10 +1784,10 @@ static int fw_device_op_release(struct inode *inode, struct file *file)
return 0;
}
static unsigned int fw_device_op_poll(struct file *file, poll_table * pt)
static __poll_t fw_device_op_poll(struct file *file, poll_table * pt)
{
struct client *client = file->private_data;
unsigned int mask = 0;
__poll_t mask = 0;
poll_wait(file, &client->wait, pt);

View file

@ -328,11 +328,11 @@ nosy_release(struct inode *inode, struct file *file)
return 0;
}
static unsigned int
static __poll_t
nosy_poll(struct file *file, poll_table *pt)
{
struct client *client = file->private_data;
unsigned int ret = 0;
__poll_t ret = 0;
poll_wait(file, &client->buffer.wait, pt);