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/ak4531_codec.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/ak4531_codec.c')
-rw-r--r-- | sound/pci/ak4531_codec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/ak4531_codec.c b/sound/pci/ak4531_codec.c index cadf7b962e30..3bf0dc53360a 100644 --- a/sound/pci/ak4531_codec.c +++ b/sound/pci/ak4531_codec.c | |||
@@ -274,7 +274,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_master, -6200, 200, 0); | |||
274 | static const DECLARE_TLV_DB_SCALE(db_scale_mono, -2800, 400, 0); | 274 | static const DECLARE_TLV_DB_SCALE(db_scale_mono, -2800, 400, 0); |
275 | static const DECLARE_TLV_DB_SCALE(db_scale_input, -5000, 200, 0); | 275 | static const DECLARE_TLV_DB_SCALE(db_scale_input, -5000, 200, 0); |
276 | 276 | ||
277 | static struct snd_kcontrol_new snd_ak4531_controls[] __devinitdata = { | 277 | static struct snd_kcontrol_new snd_ak4531_controls[] = { |
278 | 278 | ||
279 | AK4531_DOUBLE_TLV("Master Playback Switch", 0, | 279 | AK4531_DOUBLE_TLV("Master Playback Switch", 0, |
280 | AK4531_LMASTER, AK4531_RMASTER, 7, 7, 1, 1, | 280 | AK4531_LMASTER, AK4531_RMASTER, 7, 7, 1, 1, |
@@ -383,9 +383,9 @@ static u8 snd_ak4531_initial_map[0x19 + 1] = { | |||
383 | 0x01 /* 19: Mic Amp Setup */ | 383 | 0x01 /* 19: Mic Amp Setup */ |
384 | }; | 384 | }; |
385 | 385 | ||
386 | int __devinit snd_ak4531_mixer(struct snd_card *card, | 386 | int snd_ak4531_mixer(struct snd_card *card, |
387 | struct snd_ak4531 *_ak4531, | 387 | struct snd_ak4531 *_ak4531, |
388 | struct snd_ak4531 **rak4531) | 388 | struct snd_ak4531 **rak4531) |
389 | { | 389 | { |
390 | unsigned int idx; | 390 | unsigned int idx; |
391 | int err; | 391 | int err; |
@@ -483,7 +483,7 @@ static void snd_ak4531_proc_read(struct snd_info_entry *entry, | |||
483 | ak4531->regs[AK4531_MIC_GAIN] & 1 ? "+30dB" : "+0dB"); | 483 | ak4531->regs[AK4531_MIC_GAIN] & 1 ? "+30dB" : "+0dB"); |
484 | } | 484 | } |
485 | 485 | ||
486 | static void __devinit | 486 | static void |
487 | snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531) | 487 | snd_ak4531_proc_init(struct snd_card *card, struct snd_ak4531 *ak4531) |
488 | { | 488 | { |
489 | struct snd_info_entry *entry; | 489 | struct snd_info_entry *entry; |