aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:29 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:35:11 -0500
commit14c56706f9d90d00573b7509b20c49ba56ea7eb1 (patch)
tree7962b69f971b7ac72145cd1c33d7f4701822974c /sound
parent87f9796a0336efa46d0fbecfb2875afe07dd6972 (diff)
ALSA: snd-usb-caiaq: 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: Daniel Mack <zonque@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/caiaq/control.c8
-rw-r--r--sound/usb/caiaq/device.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/sound/usb/caiaq/control.c b/sound/usb/caiaq/control.c
index 00e5d0a469e1..adb8d03267a0 100644
--- a/sound/usb/caiaq/control.c
+++ b/sound/usb/caiaq/control.c
@@ -137,7 +137,7 @@ static int control_put(struct snd_kcontrol *kcontrol,
137 return 1; 137 return 1;
138} 138}
139 139
140static struct snd_kcontrol_new kcontrol_template __devinitdata = { 140static struct snd_kcontrol_new kcontrol_template = {
141 .iface = SNDRV_CTL_ELEM_IFACE_HWDEP, 141 .iface = SNDRV_CTL_ELEM_IFACE_HWDEP,
142 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 142 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
143 .index = 0, 143 .index = 0,
@@ -489,8 +489,8 @@ static struct caiaq_controller kontrols4_controller[] = {
489 { "LED: FX2: Mode", 133 | CNT_INTVAL }, 489 { "LED: FX2: Mode", 133 | CNT_INTVAL },
490}; 490};
491 491
492static int __devinit add_controls(struct caiaq_controller *c, int num, 492static int add_controls(struct caiaq_controller *c, int num,
493 struct snd_usb_caiaqdev *dev) 493 struct snd_usb_caiaqdev *dev)
494{ 494{
495 int i, ret; 495 int i, ret;
496 struct snd_kcontrol *kc; 496 struct snd_kcontrol *kc;
@@ -507,7 +507,7 @@ static int __devinit add_controls(struct caiaq_controller *c, int num,
507 return 0; 507 return 0;
508} 508}
509 509
510int __devinit snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *dev) 510int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *dev)
511{ 511{
512 int ret = 0; 512 int ret = 0;
513 513
diff --git a/sound/usb/caiaq/device.c b/sound/usb/caiaq/device.c
index 7da0d0aa72cb..c828f8189c25 100644
--- a/sound/usb/caiaq/device.c
+++ b/sound/usb/caiaq/device.c
@@ -289,7 +289,7 @@ int snd_usb_caiaq_set_auto_msg(struct snd_usb_caiaqdev *dev,
289 tmp, sizeof(tmp)); 289 tmp, sizeof(tmp));
290} 290}
291 291
292static void __devinit setup_card(struct snd_usb_caiaqdev *dev) 292static void setup_card(struct snd_usb_caiaqdev *dev)
293{ 293{
294 int ret; 294 int ret;
295 char val[4]; 295 char val[4];
@@ -407,7 +407,7 @@ static int create_card(struct usb_device *usb_dev,
407 return 0; 407 return 0;
408} 408}
409 409
410static int __devinit init_card(struct snd_usb_caiaqdev *dev) 410static int init_card(struct snd_usb_caiaqdev *dev)
411{ 411{
412 char *c, usbpath[32]; 412 char *c, usbpath[32];
413 struct usb_device *usb_dev = dev->chip.dev; 413 struct usb_device *usb_dev = dev->chip.dev;
@@ -481,7 +481,7 @@ static int __devinit init_card(struct snd_usb_caiaqdev *dev)
481 return 0; 481 return 0;
482} 482}
483 483
484static int __devinit snd_probe(struct usb_interface *intf, 484static int snd_probe(struct usb_interface *intf,
485 const struct usb_device_id *id) 485 const struct usb_device_id *id)
486{ 486{
487 int ret; 487 int ret;