diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:10 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:20:55 -0500 |
commit | e23e7a1436207217000c2854214bc908936af3cb (patch) | |
tree | aebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/azt3328.c | |
parent | 445a51b353c35fe54840c10352ef51152fbb94df (diff) |
ALSA: pci: 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: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index c03b66b784a3..1204a0fa3368 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -817,7 +817,7 @@ snd_azf3328_mixer_ac97_write(struct snd_ac97 *ac97, | |||
817 | snd_azf3328_mixer_ac97_map_unsupported(reg_ac97, "write"); | 817 | snd_azf3328_mixer_ac97_map_unsupported(reg_ac97, "write"); |
818 | } | 818 | } |
819 | 819 | ||
820 | static int __devinit | 820 | static int |
821 | snd_azf3328_mixer_new(struct snd_azf3328 *chip) | 821 | snd_azf3328_mixer_new(struct snd_azf3328 *chip) |
822 | { | 822 | { |
823 | struct snd_ac97_bus *bus; | 823 | struct snd_ac97_bus *bus; |
@@ -1171,7 +1171,7 @@ snd_azf3328_put_mixer_enum(struct snd_kcontrol *kcontrol, | |||
1171 | return (nreg != oreg); | 1171 | return (nreg != oreg); |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | static struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = { | 1174 | static struct snd_kcontrol_new snd_azf3328_mixer_controls[] = { |
1175 | AZF3328_MIXER_SWITCH("Master Playback Switch", IDX_MIXER_PLAY_MASTER, 15, 1), | 1175 | AZF3328_MIXER_SWITCH("Master Playback Switch", IDX_MIXER_PLAY_MASTER, 15, 1), |
1176 | AZF3328_MIXER_VOL_STEREO("Master Playback Volume", IDX_MIXER_PLAY_MASTER, 0x1f, 1), | 1176 | AZF3328_MIXER_VOL_STEREO("Master Playback Volume", IDX_MIXER_PLAY_MASTER, 0x1f, 1), |
1177 | AZF3328_MIXER_SWITCH("PCM Playback Switch", IDX_MIXER_WAVEOUT, 15, 1), | 1177 | AZF3328_MIXER_SWITCH("PCM Playback Switch", IDX_MIXER_WAVEOUT, 15, 1), |
@@ -1229,7 +1229,7 @@ static struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = { | |||
1229 | #endif | 1229 | #endif |
1230 | }; | 1230 | }; |
1231 | 1231 | ||
1232 | static u16 __devinitdata snd_azf3328_init_values[][2] = { | 1232 | static u16 snd_azf3328_init_values[][2] = { |
1233 | { IDX_MIXER_PLAY_MASTER, MIXER_MUTE_MASK|0x1f1f }, | 1233 | { IDX_MIXER_PLAY_MASTER, MIXER_MUTE_MASK|0x1f1f }, |
1234 | { IDX_MIXER_MODEMOUT, MIXER_MUTE_MASK|0x1f1f }, | 1234 | { IDX_MIXER_MODEMOUT, MIXER_MUTE_MASK|0x1f1f }, |
1235 | { IDX_MIXER_BASSTREBLE, 0x0000 }, | 1235 | { IDX_MIXER_BASSTREBLE, 0x0000 }, |
@@ -1245,7 +1245,7 @@ static u16 __devinitdata snd_azf3328_init_values[][2] = { | |||
1245 | { IDX_MIXER_REC_VOLUME, MIXER_MUTE_MASK|0x0707 }, | 1245 | { IDX_MIXER_REC_VOLUME, MIXER_MUTE_MASK|0x0707 }, |
1246 | }; | 1246 | }; |
1247 | 1247 | ||
1248 | static int __devinit | 1248 | static int |
1249 | snd_azf3328_mixer_new(struct snd_azf3328 *chip) | 1249 | snd_azf3328_mixer_new(struct snd_azf3328 *chip) |
1250 | { | 1250 | { |
1251 | struct snd_card *card; | 1251 | struct snd_card *card; |
@@ -1899,7 +1899,7 @@ snd_azf3328_gameport_cooked_read(struct gameport *gameport, | |||
1899 | return 0; | 1899 | return 0; |
1900 | } | 1900 | } |
1901 | 1901 | ||
1902 | static int __devinit | 1902 | static int |
1903 | snd_azf3328_gameport(struct snd_azf3328 *chip, int dev) | 1903 | snd_azf3328_gameport(struct snd_azf3328 *chip, int dev) |
1904 | { | 1904 | { |
1905 | struct gameport *gp; | 1905 | struct gameport *gp; |
@@ -2212,7 +2212,7 @@ static struct snd_pcm_ops snd_azf3328_i2s_out_ops = { | |||
2212 | .pointer = snd_azf3328_pcm_pointer | 2212 | .pointer = snd_azf3328_pcm_pointer |
2213 | }; | 2213 | }; |
2214 | 2214 | ||
2215 | static int __devinit | 2215 | static int |
2216 | snd_azf3328_pcm(struct snd_azf3328 *chip) | 2216 | snd_azf3328_pcm(struct snd_azf3328 *chip) |
2217 | { | 2217 | { |
2218 | enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS }; /* pcm devices */ | 2218 | enum { AZF_PCMDEV_STD, AZF_PCMDEV_I2S_OUT, NUM_AZF_PCMDEVS }; /* pcm devices */ |
@@ -2344,7 +2344,7 @@ static struct snd_timer_hardware snd_azf3328_timer_hw = { | |||
2344 | .precise_resolution = snd_azf3328_timer_precise_resolution, | 2344 | .precise_resolution = snd_azf3328_timer_precise_resolution, |
2345 | }; | 2345 | }; |
2346 | 2346 | ||
2347 | static int __devinit | 2347 | static int |
2348 | snd_azf3328_timer(struct snd_azf3328 *chip, int device) | 2348 | snd_azf3328_timer(struct snd_azf3328 *chip, int device) |
2349 | { | 2349 | { |
2350 | struct snd_timer *timer = NULL; | 2350 | struct snd_timer *timer = NULL; |
@@ -2489,7 +2489,7 @@ snd_azf3328_debug_show_ports(const struct snd_azf3328 *chip) | |||
2489 | #endif /* DEBUG_MISC */ | 2489 | #endif /* DEBUG_MISC */ |
2490 | } | 2490 | } |
2491 | 2491 | ||
2492 | static int __devinit | 2492 | static int |
2493 | snd_azf3328_create(struct snd_card *card, | 2493 | snd_azf3328_create(struct snd_card *card, |
2494 | struct pci_dev *pci, | 2494 | struct pci_dev *pci, |
2495 | unsigned long device_type, | 2495 | unsigned long device_type, |
@@ -2615,7 +2615,7 @@ out: | |||
2615 | return err; | 2615 | return err; |
2616 | } | 2616 | } |
2617 | 2617 | ||
2618 | static int __devinit | 2618 | static int |
2619 | snd_azf3328_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | 2619 | snd_azf3328_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) |
2620 | { | 2620 | { |
2621 | static int dev; | 2621 | static int dev; |
@@ -2720,7 +2720,7 @@ out: | |||
2720 | return err; | 2720 | return err; |
2721 | } | 2721 | } |
2722 | 2722 | ||
2723 | static void __devexit | 2723 | static void |
2724 | snd_azf3328_remove(struct pci_dev *pci) | 2724 | snd_azf3328_remove(struct pci_dev *pci) |
2725 | { | 2725 | { |
2726 | snd_azf3328_dbgcallenter(); | 2726 | snd_azf3328_dbgcallenter(); |
@@ -2872,7 +2872,7 @@ static struct pci_driver azf3328_driver = { | |||
2872 | .name = KBUILD_MODNAME, | 2872 | .name = KBUILD_MODNAME, |
2873 | .id_table = snd_azf3328_ids, | 2873 | .id_table = snd_azf3328_ids, |
2874 | .probe = snd_azf3328_probe, | 2874 | .probe = snd_azf3328_probe, |
2875 | .remove = __devexit_p(snd_azf3328_remove), | 2875 | .remove = snd_azf3328_remove, |
2876 | .driver = { | 2876 | .driver = { |
2877 | .pm = SND_AZF3328_PM_OPS, | 2877 | .pm = SND_AZF3328_PM_OPS, |
2878 | }, | 2878 | }, |