mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
c23e0cb81e
commit
afc9a42b74
144 changed files with 257 additions and 256 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue