linux/sound/usb/caiaq
Julia Lawall f4e9749f45 ALSA: Use usb_set/get_intfdata
Use the USB functions usb_get_intfdata and usb_set_intfdata instead of
dev_get_drvdata and dev_set_drvdata, respectively.

The semantic patch that makes this change for the usb_get_intfdata case is
as follows: (http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@header@
@@

#include <linux/usb.h>

@same depends on header@
position p;
@@

usb_get_intfdata@p(...) { ... }

@depends on header@
position _p!=same.p;
identifier _f;
struct usb_interface*intf;
@@

_f@_p(...) { <+...
- dev_get_drvdata(&intf->dev)
+ usb_get_intfdata(intf)
...+> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-02 11:52:45 +01:00
..
caiaq-audio.c [ALSA] snd_usb_caiaq: add support for 'Session I/O' interface 2008-05-19 13:19:15 +02:00
caiaq-audio.h [ALSA] Add Native Instrument usb audio device support 2007-05-11 16:55:53 +02:00
caiaq-control.c ALSA: snd-usb-caiaq: clean up the control adding code 2008-11-27 08:21:05 +01:00
caiaq-control.h [ALSA] caiaq - add control API and more input features 2008-01-31 17:29:28 +01:00
caiaq-device.c ALSA: Use usb_set/get_intfdata 2009-01-02 11:52:45 +01:00
caiaq-device.h [ALSA] snd_usb_caiaq: add support for 'Session I/O' interface 2008-05-19 13:19:15 +02:00
caiaq-input.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
caiaq-input.h [ALSA] Add Native Instrument usb audio device support 2007-05-11 16:55:53 +02:00
caiaq-midi.c [ALSA] sound: fix caiaq section mismatches 2008-01-31 17:30:01 +01:00
caiaq-midi.h [ALSA] Add Native Instrument usb audio device support 2007-05-11 16:55:53 +02:00
Makefile [ALSA] caiaq - remove ifdef 2008-01-31 17:29:28 +01:00