sound: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -53,11 +53,11 @@ hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
static __poll_t
|
||||
hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
|
||||
{
|
||||
struct snd_bebob *bebob = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &bebob->hwdep_wait, wait);
|
||||
|
||||
|
@@ -52,11 +52,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_dice *dice = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &dice->hwdep_wait, wait);
|
||||
|
||||
|
@@ -60,11 +60,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_dg00x *dg00x = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &dg00x->hwdep_wait, wait);
|
||||
|
||||
|
@@ -52,11 +52,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_ff *ff = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &ff->hwdep_wait, wait);
|
||||
|
||||
|
@@ -184,11 +184,11 @@ end:
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
static __poll_t
|
||||
hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait)
|
||||
{
|
||||
struct snd_efw *efw = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &efw->hwdep_wait, wait);
|
||||
|
||||
|
@@ -59,11 +59,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_motu *motu = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &motu->hwdep_wait, wait);
|
||||
|
||||
|
@@ -52,11 +52,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_oxfw *oxfw = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &oxfw->hwdep_wait, wait);
|
||||
|
||||
|
@@ -50,11 +50,11 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
|
||||
return count;
|
||||
}
|
||||
|
||||
static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct snd_tscm *tscm = hwdep->private_data;
|
||||
unsigned int events;
|
||||
__poll_t events;
|
||||
|
||||
poll_wait(file, &tscm->hwdep_wait, wait);
|
||||
|
||||
|
Reference in New Issue
Block a user