Tag: f4e9749f451747f7cdd334eae951357f839c57f2

ALSA: Use usb_set/get_intfdata

Author: Julia Lawall <julia@diku.dk> 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/) // @header@ @@ #include @same depends on header@ position p; @@ usb_get_intfdata@p(…) { … } @depends on header@ position _p!=same.p; identifier _f; struct …

Continue reading