ALSA: isa: 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>
这个提交包含在:
@@ -30,7 +30,7 @@ MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard.");
|
||||
module_param_array(port, long, NULL, 0444);
|
||||
MODULE_PARM_DESC(port, "Port # for " CRD_NAME " driver.");
|
||||
|
||||
static int __devinit snd_adlib_match(struct device *dev, unsigned int n)
|
||||
static int snd_adlib_match(struct device *dev, unsigned int n)
|
||||
{
|
||||
if (!enable[n])
|
||||
return 0;
|
||||
@@ -47,7 +47,7 @@ static void snd_adlib_free(struct snd_card *card)
|
||||
release_and_free_resource(card->private_data);
|
||||
}
|
||||
|
||||
static int __devinit snd_adlib_probe(struct device *dev, unsigned int n)
|
||||
static int snd_adlib_probe(struct device *dev, unsigned int n)
|
||||
{
|
||||
struct snd_card *card;
|
||||
struct snd_opl3 *opl3;
|
||||
@@ -98,7 +98,7 @@ out: snd_card_free(card);
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit snd_adlib_remove(struct device *dev, unsigned int n)
|
||||
static int snd_adlib_remove(struct device *dev, unsigned int n)
|
||||
{
|
||||
snd_card_free(dev_get_drvdata(dev));
|
||||
dev_set_drvdata(dev, NULL);
|
||||
@@ -108,7 +108,7 @@ static int __devexit snd_adlib_remove(struct device *dev, unsigned int n)
|
||||
static struct isa_driver snd_adlib_driver = {
|
||||
.match = snd_adlib_match,
|
||||
.probe = snd_adlib_probe,
|
||||
.remove = __devexit_p(snd_adlib_remove),
|
||||
.remove = snd_adlib_remove,
|
||||
|
||||
.driver = {
|
||||
.name = DEV_NAME
|
||||
|
在新工单中引用
屏蔽一个用户