Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: firewire-speakers: 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>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Bill Pemberton and committed by
Takashi Iwai
325fbfe0 61dc674c

+4 -4
+4 -4
sound/firewire/speakers.c
··· 663 663 mutex_destroy(&fwspk->mutex); 664 664 } 665 665 666 - static const struct device_info *__devinit fwspk_detect(struct fw_device *dev) 666 + static const struct device_info *fwspk_detect(struct fw_device *dev) 667 667 { 668 668 static const struct device_info griffin_firewave = { 669 669 .driver_name = "FireWave", ··· 699 699 return NULL; 700 700 } 701 701 702 - static int __devinit fwspk_probe(struct device *unit_dev) 702 + static int fwspk_probe(struct device *unit_dev) 703 703 { 704 704 struct fw_unit *unit = fw_unit(unit_dev); 705 705 struct fw_device *fw_dev = fw_parent_device(unit); ··· 770 770 return err; 771 771 } 772 772 773 - static int __devexit fwspk_remove(struct device *dev) 773 + static int fwspk_remove(struct device *dev) 774 774 { 775 775 struct fwspk *fwspk = dev_get_drvdata(dev); 776 776 ··· 834 834 .name = KBUILD_MODNAME, 835 835 .bus = &fw_bus_type, 836 836 .probe = fwspk_probe, 837 - .remove = __devexit_p(fwspk_remove), 837 + .remove = fwspk_remove, 838 838 }, 839 839 .update = fwspk_bus_reset, 840 840 .id_table = fwspk_id_table,