android_kernel_xiaomi_sm7250/sound/usb
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 ALSA: Use usb_set/get_intfdata 2009-01-02 11:52:45 +01:00
usx2y ALSA: Use usb_set/get_intfdata 2009-01-02 11:52:45 +01:00
Kconfig ALSA: us122l - Add missing dependency on CONFIG_SND_HWDEP 2008-09-09 09:10:57 +02:00
Makefile
usbaudio.c ALSA: Use usb_set/get_intfdata 2009-01-02 11:52:45 +01:00
usbaudio.h ALSA: snd-usb-audio: support for Edirol UA-4FX device 2008-10-10 13:41:48 +02:00
usbmidi.c ALSA: sound/usb: use USB API functions rather than constants 2009-01-01 10:27:33 +01:00
usbmixer_maps.c
usbmixer.c ALSA: sound/usb: use USB API functions rather than constants 2009-01-01 10:27:33 +01:00
usbquirks.h ALSA: usb - Add quirk for Edirol UA-25EX advanced modes 2008-10-30 11:37:01 +01:00