Commit ad4d1dea authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] Fix irq handler arguments in documents

Fixed the irq handler arguments in documents (removing pt_regs).
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 9f428175
...@@ -1360,8 +1360,7 @@ ...@@ -1360,8 +1360,7 @@
<informalexample> <informalexample>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id, static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id)
struct pt_regs *regs)
{ {
struct mychip *chip = dev_id; struct mychip *chip = dev_id;
.... ....
...@@ -3062,8 +3061,7 @@ struct _snd_pcm_runtime { ...@@ -3062,8 +3061,7 @@ struct _snd_pcm_runtime {
<title>Interrupt Handler Case #1</title> <title>Interrupt Handler Case #1</title>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id, static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id)
struct pt_regs *regs)
{ {
struct mychip *chip = dev_id; struct mychip *chip = dev_id;
spin_lock(&chip->lock); spin_lock(&chip->lock);
...@@ -3106,8 +3104,7 @@ struct _snd_pcm_runtime { ...@@ -3106,8 +3104,7 @@ struct _snd_pcm_runtime {
<title>Interrupt Handler Case #2</title> <title>Interrupt Handler Case #2</title>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id, static irqreturn_t snd_mychip_interrupt(int irq, void *dev_id)
struct pt_regs *regs)
{ {
struct mychip *chip = dev_id; struct mychip *chip = dev_id;
spin_lock(&chip->lock); spin_lock(&chip->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment