sound: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-02 23:27:36 -04:00
parent 0d9b87f3ba
commit 680ef72abd
25 changed files with 49 additions and 49 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);