ALSA: drivers: 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
4423d24750
commit
fbbb01a12d
@@ -328,7 +328,7 @@ static void snd_uart16550_buffer_timer(unsigned long data)
|
||||
* return 0 if found
|
||||
* return negative error if not found
|
||||
*/
|
||||
static int __devinit snd_uart16550_detect(struct snd_uart16550 *uart)
|
||||
static int snd_uart16550_detect(struct snd_uart16550 *uart)
|
||||
{
|
||||
unsigned long io_base = uart->base;
|
||||
int ok;
|
||||
@@ -783,14 +783,14 @@ static int snd_uart16550_dev_free(struct snd_device *device)
|
||||
return snd_uart16550_free(uart);
|
||||
}
|
||||
|
||||
static int __devinit snd_uart16550_create(struct snd_card *card,
|
||||
unsigned long iobase,
|
||||
int irq,
|
||||
unsigned int speed,
|
||||
unsigned int base,
|
||||
int adaptor,
|
||||
int droponfull,
|
||||
struct snd_uart16550 **ruart)
|
||||
static int snd_uart16550_create(struct snd_card *card,
|
||||
unsigned long iobase,
|
||||
int irq,
|
||||
unsigned int speed,
|
||||
unsigned int base,
|
||||
int adaptor,
|
||||
int droponfull,
|
||||
struct snd_uart16550 **ruart)
|
||||
{
|
||||
static struct snd_device_ops ops = {
|
||||
.dev_free = snd_uart16550_dev_free,
|
||||
@@ -863,7 +863,7 @@ static int __devinit snd_uart16550_create(struct snd_card *card,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream)
|
||||
static void snd_uart16550_substreams(struct snd_rawmidi_str *stream)
|
||||
{
|
||||
struct snd_rawmidi_substream *substream;
|
||||
|
||||
@@ -872,9 +872,9 @@ static void __devinit snd_uart16550_substreams(struct snd_rawmidi_str *stream)
|
||||
}
|
||||
}
|
||||
|
||||
static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device,
|
||||
int outs, int ins,
|
||||
struct snd_rawmidi **rmidi)
|
||||
static int snd_uart16550_rmidi(struct snd_uart16550 *uart, int device,
|
||||
int outs, int ins,
|
||||
struct snd_rawmidi **rmidi)
|
||||
{
|
||||
struct snd_rawmidi *rrawmidi;
|
||||
int err;
|
||||
@@ -899,7 +899,7 @@ static int __devinit snd_uart16550_rmidi(struct snd_uart16550 *uart, int device,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit snd_serial_probe(struct platform_device *devptr)
|
||||
static int snd_serial_probe(struct platform_device *devptr)
|
||||
{
|
||||
struct snd_card *card;
|
||||
struct snd_uart16550 *uart;
|
||||
@@ -982,7 +982,7 @@ static int __devinit snd_serial_probe(struct platform_device *devptr)
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit snd_serial_remove(struct platform_device *devptr)
|
||||
static int snd_serial_remove(struct platform_device *devptr)
|
||||
{
|
||||
snd_card_free(platform_get_drvdata(devptr));
|
||||
platform_set_drvdata(devptr, NULL);
|
||||
@@ -993,7 +993,7 @@ static int __devexit snd_serial_remove(struct platform_device *devptr)
|
||||
|
||||
static struct platform_driver snd_serial_driver = {
|
||||
.probe = snd_serial_probe,
|
||||
.remove = __devexit_p( snd_serial_remove),
|
||||
.remove = snd_serial_remove,
|
||||
.driver = {
|
||||
.name = SND_SERIAL_DRIVER,
|
||||
.owner = THIS_MODULE,
|
||||
|
Reference in New Issue
Block a user