aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/maestro3.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:20:55 -0500
commite23e7a1436207217000c2854214bc908936af3cb (patch)
treeaebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/maestro3.c
parent445a51b353c35fe54840c10352ef51152fbb94df (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/maestro3.c')
-rw-r--r--sound/pci/maestro3.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index eb3cd3a4315e..9387533f70dc 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -822,7 +822,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_m3_ids) = {
822 822
823MODULE_DEVICE_TABLE(pci, snd_m3_ids); 823MODULE_DEVICE_TABLE(pci, snd_m3_ids);
824 824
825static struct snd_pci_quirk m3_amp_quirk_list[] __devinitdata = { 825static struct snd_pci_quirk m3_amp_quirk_list[] = {
826 SND_PCI_QUIRK(0x0E11, 0x0094, "Compaq Evo N600c", 0x0c), 826 SND_PCI_QUIRK(0x0E11, 0x0094, "Compaq Evo N600c", 0x0c),
827 SND_PCI_QUIRK(0x10f7, 0x833e, "Panasonic CF-28", 0x0d), 827 SND_PCI_QUIRK(0x10f7, 0x833e, "Panasonic CF-28", 0x0d),
828 SND_PCI_QUIRK(0x10f7, 0x833d, "Panasonic CF-72", 0x0d), 828 SND_PCI_QUIRK(0x10f7, 0x833d, "Panasonic CF-72", 0x0d),
@@ -831,7 +831,7 @@ static struct snd_pci_quirk m3_amp_quirk_list[] __devinitdata = {
831 { } /* END */ 831 { } /* END */
832}; 832};
833 833
834static struct snd_pci_quirk m3_irda_quirk_list[] __devinitdata = { 834static struct snd_pci_quirk m3_irda_quirk_list[] = {
835 SND_PCI_QUIRK(0x1028, 0x00b0, "Dell Inspiron 4000", 1), 835 SND_PCI_QUIRK(0x1028, 0x00b0, "Dell Inspiron 4000", 1),
836 SND_PCI_QUIRK(0x1028, 0x00a4, "Dell Inspiron 8000", 1), 836 SND_PCI_QUIRK(0x1028, 0x00a4, "Dell Inspiron 8000", 1),
837 SND_PCI_QUIRK(0x1028, 0x00e6, "Dell Inspiron 8100", 1), 837 SND_PCI_QUIRK(0x1028, 0x00e6, "Dell Inspiron 8100", 1),
@@ -839,7 +839,7 @@ static struct snd_pci_quirk m3_irda_quirk_list[] __devinitdata = {
839}; 839};
840 840
841/* hardware volume quirks */ 841/* hardware volume quirks */
842static struct snd_pci_quirk m3_hv_quirk_list[] __devinitdata = { 842static struct snd_pci_quirk m3_hv_quirk_list[] = {
843 /* Allegro chips */ 843 /* Allegro chips */
844 SND_PCI_QUIRK(0x0E11, 0x002E, NULL, HV_CTRL_ENABLE | HV_BUTTON_FROM_GD), 844 SND_PCI_QUIRK(0x0E11, 0x002E, NULL, HV_CTRL_ENABLE | HV_BUTTON_FROM_GD),
845 SND_PCI_QUIRK(0x0E11, 0x0094, NULL, HV_CTRL_ENABLE | HV_BUTTON_FROM_GD), 845 SND_PCI_QUIRK(0x0E11, 0x0094, NULL, HV_CTRL_ENABLE | HV_BUTTON_FROM_GD),
@@ -917,7 +917,7 @@ static struct snd_pci_quirk m3_hv_quirk_list[] __devinitdata = {
917}; 917};
918 918
919/* HP Omnibook quirks */ 919/* HP Omnibook quirks */
920static struct snd_pci_quirk m3_omnibook_quirk_list[] __devinitdata = { 920static struct snd_pci_quirk m3_omnibook_quirk_list[] = {
921 SND_PCI_QUIRK_ID(0x103c, 0x0010), /* HP OmniBook 6000 */ 921 SND_PCI_QUIRK_ID(0x103c, 0x0010), /* HP OmniBook 6000 */
922 SND_PCI_QUIRK_ID(0x103c, 0x0011), /* HP OmniBook 500 */ 922 SND_PCI_QUIRK_ID(0x103c, 0x0011), /* HP OmniBook 500 */
923 { } /* END */ 923 { } /* END */
@@ -1856,7 +1856,7 @@ static struct snd_pcm_ops snd_m3_capture_ops = {
1856 .pointer = snd_m3_pcm_pointer, 1856 .pointer = snd_m3_pcm_pointer,
1857}; 1857};
1858 1858
1859static int __devinit 1859static int
1860snd_m3_pcm(struct snd_m3 * chip, int device) 1860snd_m3_pcm(struct snd_m3 * chip, int device)
1861{ 1861{
1862 struct snd_pcm *pcm; 1862 struct snd_pcm *pcm;
@@ -2031,7 +2031,7 @@ static void snd_m3_ac97_reset(struct snd_m3 *chip)
2031#endif 2031#endif
2032} 2032}
2033 2033
2034static int __devinit snd_m3_mixer(struct snd_m3 *chip) 2034static int snd_m3_mixer(struct snd_m3 *chip)
2035{ 2035{
2036 struct snd_ac97_bus *pbus; 2036 struct snd_ac97_bus *pbus;
2037 struct snd_ac97_template ac97; 2037 struct snd_ac97_template ac97;
@@ -2173,7 +2173,7 @@ static void snd_m3_assp_init(struct snd_m3 *chip)
2173} 2173}
2174 2174
2175 2175
2176static int __devinit snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index) 2176static int snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index)
2177{ 2177{
2178 int data_bytes = 2 * ( MINISRC_TMP_BUFFER_SIZE / 2 + 2178 int data_bytes = 2 * ( MINISRC_TMP_BUFFER_SIZE / 2 +
2179 MINISRC_IN_BUFFER_SIZE / 2 + 2179 MINISRC_IN_BUFFER_SIZE / 2 +
@@ -2488,7 +2488,7 @@ static SIMPLE_DEV_PM_OPS(m3_pm, m3_suspend, m3_resume);
2488#endif /* CONFIG_PM_SLEEP */ 2488#endif /* CONFIG_PM_SLEEP */
2489 2489
2490#ifdef CONFIG_SND_MAESTRO3_INPUT 2490#ifdef CONFIG_SND_MAESTRO3_INPUT
2491static int __devinit snd_m3_input_register(struct snd_m3 *chip) 2491static int snd_m3_input_register(struct snd_m3 *chip)
2492{ 2492{
2493 struct input_dev *input_dev; 2493 struct input_dev *input_dev;
2494 int err; 2494 int err;
@@ -2532,7 +2532,7 @@ static int snd_m3_dev_free(struct snd_device *device)
2532 return snd_m3_free(chip); 2532 return snd_m3_free(chip);
2533} 2533}
2534 2534
2535static int __devinit 2535static int
2536snd_m3_create(struct snd_card *card, struct pci_dev *pci, 2536snd_m3_create(struct snd_card *card, struct pci_dev *pci,
2537 int enable_amp, 2537 int enable_amp,
2538 int amp_gpio, 2538 int amp_gpio,
@@ -2700,7 +2700,7 @@ snd_m3_create(struct snd_card *card, struct pci_dev *pci,
2700 2700
2701/* 2701/*
2702 */ 2702 */
2703static int __devinit 2703static int
2704snd_m3_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) 2704snd_m3_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
2705{ 2705{
2706 static int dev; 2706 static int dev;
@@ -2770,7 +2770,7 @@ snd_m3_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
2770 return 0; 2770 return 0;
2771} 2771}
2772 2772
2773static void __devexit snd_m3_remove(struct pci_dev *pci) 2773static void snd_m3_remove(struct pci_dev *pci)
2774{ 2774{
2775 snd_card_free(pci_get_drvdata(pci)); 2775 snd_card_free(pci_get_drvdata(pci));
2776 pci_set_drvdata(pci, NULL); 2776 pci_set_drvdata(pci, NULL);
@@ -2780,7 +2780,7 @@ static struct pci_driver m3_driver = {
2780 .name = KBUILD_MODNAME, 2780 .name = KBUILD_MODNAME,
2781 .id_table = snd_m3_ids, 2781 .id_table = snd_m3_ids,
2782 .probe = snd_m3_probe, 2782 .probe = snd_m3_probe,
2783 .remove = __devexit_p(snd_m3_remove), 2783 .remove = snd_m3_remove,
2784 .driver = { 2784 .driver = {
2785 .pm = M3_PM_OPS, 2785 .pm = M3_PM_OPS,
2786 }, 2786 },