mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
f4e9749f45
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> |
||
---|---|---|
.. | ||
caiaq-audio.c | ||
caiaq-audio.h | ||
caiaq-control.c | ||
caiaq-control.h | ||
caiaq-device.c | ||
caiaq-device.h | ||
caiaq-input.c | ||
caiaq-input.h | ||
caiaq-midi.c | ||
caiaq-midi.h | ||
Makefile |