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

committed by
Takashi Iwai

parent
3dd0676335
commit
f120a6fb48
@@ -58,8 +58,8 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, xonar_ids);
|
||||
|
||||
static int __devinit get_xonar_model(struct oxygen *chip,
|
||||
const struct pci_device_id *id)
|
||||
static int get_xonar_model(struct oxygen *chip,
|
||||
const struct pci_device_id *id)
|
||||
{
|
||||
if (get_xonar_pcm179x_model(chip, id) >= 0)
|
||||
return 0;
|
||||
@@ -70,8 +70,8 @@ static int __devinit get_xonar_model(struct oxygen *chip,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int __devinit xonar_probe(struct pci_dev *pci,
|
||||
const struct pci_device_id *pci_id)
|
||||
static int xonar_probe(struct pci_dev *pci,
|
||||
const struct pci_device_id *pci_id)
|
||||
{
|
||||
static int dev;
|
||||
int err;
|
||||
@@ -93,7 +93,7 @@ static struct pci_driver xonar_driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.id_table = xonar_ids,
|
||||
.probe = xonar_probe,
|
||||
.remove = __devexit_p(oxygen_pci_remove),
|
||||
.remove = oxygen_pci_remove,
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.driver = {
|
||||
.pm = &oxygen_pci_pm,
|
||||
|
Reference in New Issue
Block a user