Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afc9a42b authored by Al Viro's avatar Al Viro
Browse files

the rest of drivers/*: annotate ->poll() instances



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c23e0cb8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4276,7 +4276,7 @@ static int binder_thread_release(struct binder_proc *proc,
	return active_transactions;
}

static unsigned int binder_poll(struct file *filp,
static __poll_t binder_poll(struct file *filp,
				struct poll_table_struct *wait)
{
	struct binder_proc *proc = filp->private_data;
+1 −1
Original line number Diff line number Diff line
@@ -794,7 +794,7 @@ static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file,
	return 0;
}

static unsigned int hci_uart_tty_poll(struct tty_struct *tty,
static __poll_t hci_uart_tty_poll(struct tty_struct *tty,
				      struct file *filp, poll_table *wait)
{
	return 0;
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from)
	return vhci_get_user(data, from);
}

static unsigned int vhci_poll(struct file *file, poll_table *wait)
static __poll_t vhci_poll(struct file *file, poll_table *wait)
{
	struct vhci_data *data = file->private_data;

+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ static ssize_t apm_read(struct file *fp, char __user *buf, size_t count, loff_t
	return ret;
}

static unsigned int apm_poll(struct file *fp, poll_table * wait)
static __poll_t apm_poll(struct file *fp, poll_table * wait)
{
	struct apm_user *as = fp->private_data;

+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ static long dsp56k_ioctl(struct file *file, unsigned int cmd,
 * Do I need this function at all???
 */
#if 0
static unsigned int dsp56k_poll(struct file *file, poll_table *wait)
static __poll_t dsp56k_poll(struct file *file, poll_table *wait)
{
	int dev = iminor(file_inode(file)) & 0x0f;

Loading