media: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-03 03:02:56 -04:00
parent 076ccb76e1
commit c23e0cb81e
80 changed files with 143 additions and 147 deletions

View File

@@ -272,10 +272,10 @@ int lirc_dev_fop_close(struct inode *inode, struct file *file)
}
EXPORT_SYMBOL(lirc_dev_fop_close);
unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait)
__poll_t lirc_dev_fop_poll(struct file *file, poll_table *wait)
{
struct lirc_dev *d = file->private_data;
unsigned int ret;
__poll_t ret;
if (!d->attached)
return POLLHUP | POLLERR;