ALSA: ppc: 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>
This commit is contained in:

committed by
Takashi Iwai

parent
5cc3203f72
commit
15afafc256
@@ -51,7 +51,7 @@ static struct platform_device *device;
|
||||
/*
|
||||
*/
|
||||
|
||||
static int __devinit snd_pmac_probe(struct platform_device *devptr)
|
||||
static int snd_pmac_probe(struct platform_device *devptr)
|
||||
{
|
||||
struct snd_card *card;
|
||||
struct snd_pmac *chip;
|
||||
@@ -136,7 +136,7 @@ __error:
|
||||
}
|
||||
|
||||
|
||||
static int __devexit snd_pmac_remove(struct platform_device *devptr)
|
||||
static int snd_pmac_remove(struct platform_device *devptr)
|
||||
{
|
||||
snd_card_free(platform_get_drvdata(devptr));
|
||||
platform_set_drvdata(devptr, NULL);
|
||||
@@ -168,7 +168,7 @@ static SIMPLE_DEV_PM_OPS(snd_pmac_pm, snd_pmac_driver_suspend, snd_pmac_driver_r
|
||||
|
||||
static struct platform_driver snd_pmac_driver = {
|
||||
.probe = snd_pmac_probe,
|
||||
.remove = __devexit_p(snd_pmac_remove),
|
||||
.remove = snd_pmac_remove,
|
||||
.driver = {
|
||||
.name = SND_PMAC_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user