mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue