提交 05bcf503 编写于 作者: B Bill Pemberton 提交者: Takashi Iwai

ALSA: parisc/harmony: remove __dev* attributes

CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 e0f8cb5f
...@@ -856,7 +856,7 @@ static struct snd_kcontrol_new snd_harmony_controls[] = { ...@@ -856,7 +856,7 @@ static struct snd_kcontrol_new snd_harmony_controls[] = {
HARMONY_GAIN_HE_SHIFT, 1, 0), HARMONY_GAIN_HE_SHIFT, 1, 0),
}; };
static void __devinit static void
snd_harmony_mixer_reset(struct snd_harmony *h) snd_harmony_mixer_reset(struct snd_harmony *h)
{ {
harmony_mute(h); harmony_mute(h);
...@@ -865,7 +865,7 @@ snd_harmony_mixer_reset(struct snd_harmony *h) ...@@ -865,7 +865,7 @@ snd_harmony_mixer_reset(struct snd_harmony *h)
harmony_unmute(h); harmony_unmute(h);
} }
static int __devinit static int
snd_harmony_mixer_init(struct snd_harmony *h) snd_harmony_mixer_init(struct snd_harmony *h)
{ {
struct snd_card *card; struct snd_card *card;
...@@ -915,7 +915,7 @@ snd_harmony_dev_free(struct snd_device *dev) ...@@ -915,7 +915,7 @@ snd_harmony_dev_free(struct snd_device *dev)
return snd_harmony_free(h); return snd_harmony_free(h);
} }
static int __devinit static int
snd_harmony_create(struct snd_card *card, snd_harmony_create(struct snd_card *card,
struct parisc_device *padev, struct parisc_device *padev,
struct snd_harmony **rchip) struct snd_harmony **rchip)
...@@ -972,7 +972,7 @@ snd_harmony_create(struct snd_card *card, ...@@ -972,7 +972,7 @@ snd_harmony_create(struct snd_card *card,
return err; return err;
} }
static int __devinit static int
snd_harmony_probe(struct parisc_device *padev) snd_harmony_probe(struct parisc_device *padev)
{ {
int err; int err;
...@@ -1012,7 +1012,7 @@ snd_harmony_probe(struct parisc_device *padev) ...@@ -1012,7 +1012,7 @@ snd_harmony_probe(struct parisc_device *padev)
return err; return err;
} }
static int __devexit static int
snd_harmony_remove(struct parisc_device *padev) snd_harmony_remove(struct parisc_device *padev)
{ {
snd_card_free(parisc_get_drvdata(padev)); snd_card_free(parisc_get_drvdata(padev));
...@@ -1024,7 +1024,7 @@ static struct parisc_driver snd_harmony_driver = { ...@@ -1024,7 +1024,7 @@ static struct parisc_driver snd_harmony_driver = {
.name = "harmony", .name = "harmony",
.id_table = snd_harmony_devtable, .id_table = snd_harmony_devtable,
.probe = snd_harmony_probe, .probe = snd_harmony_probe,
.remove = __devexit_p(snd_harmony_remove), .remove = snd_harmony_remove,
}; };
static int __init static int __init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册