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

@ -1179,7 +1179,7 @@ out:
return ret;
}
static unsigned int hid_debug_events_poll(struct file *file, poll_table *wait)
static __poll_t hid_debug_events_poll(struct file *file, poll_table *wait)
{
struct hid_debug_list *list = file->private_data;

View file

@ -137,7 +137,7 @@ exit_unlock:
return retval;
}
static unsigned int roccat_poll(struct file *file, poll_table *wait)
static __poll_t roccat_poll(struct file *file, poll_table *wait)
{
struct roccat_reader *reader = file->private_data;
poll_wait(file, &reader->device->wait, wait);

View file

@ -702,11 +702,11 @@ static int hid_sensor_custom_open(struct inode *inode, struct file *file)
return nonseekable_open(inode, file);
}
static unsigned int hid_sensor_custom_poll(struct file *file,
static __poll_t hid_sensor_custom_poll(struct file *file,
struct poll_table_struct *wait)
{
struct hid_sensor_custom *sensor_inst;
unsigned int mask = 0;
__poll_t mask = 0;
sensor_inst = container_of(file->private_data,
struct hid_sensor_custom, custom_dev);

View file

@ -249,7 +249,7 @@ out:
return ret;
}
static unsigned int hidraw_poll(struct file *file, poll_table *wait)
static __poll_t hidraw_poll(struct file *file, poll_table *wait)
{
struct hidraw_list *list = file->private_data;

View file

@ -753,7 +753,7 @@ unlock:
return ret ? ret : count;
}
static unsigned int uhid_char_poll(struct file *file, poll_table *wait)
static __poll_t uhid_char_poll(struct file *file, poll_table *wait)
{
struct uhid_device *uhid = file->private_data;

View file

@ -422,7 +422,7 @@ static ssize_t hiddev_read(struct file * file, char __user * buffer, size_t coun
* "poll" file op
* No kernel lock - fine
*/
static unsigned int hiddev_poll(struct file *file, poll_table *wait)
static __poll_t hiddev_poll(struct file *file, poll_table *wait)
{
struct hiddev_list *list = file->private_data;