media: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
此提交包含在:
Al Viro
2017-07-03 03:02:56 -04:00
父節點 076ccb76e1
當前提交 c23e0cb81e
共有 80 個檔案被更改,包括 143 行新增147 行删除

查看文件

@@ -43,13 +43,13 @@ static inline struct cec_devnode *cec_devnode_data(struct file *filp)
/* CEC file operations */
static unsigned int cec_poll(struct file *filp,
static __poll_t cec_poll(struct file *filp,
struct poll_table_struct *poll)
{
struct cec_devnode *devnode = cec_devnode_data(filp);
struct cec_fh *fh = filp->private_data;
struct cec_adapter *adap = fh->adap;
unsigned int res = 0;
__poll_t res = 0;
if (!devnode->registered)
return POLLERR | POLLHUP;