Julia Lawall
03fb02c604
V4L/DVB (10171): Use usb_set_intfdata
...
This code had calls to both usb_set_intfdata and dev_set_drvdata, doing the
same thing.
The semantic patch that lead to finding this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/ )
// <smpl>
@header@
@@
@same depends on header@
position p;
@@
usb_set_intfdata@p(...) { ... }
@depends on header@
position _p!=same.p;
identifier _f;
struct usb_interface *intf;
expression data;
@@
_f@_p(...) { <+...
- dev_set_drvdata(&intf->dev, data);
+ usb_set_intfdata(intf, data);
...+> }
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-03 10:50:26 -02:00
..
2008-10-17 17:27:26 -03:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:12:18 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:14:55 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:12 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:14:34 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2008-10-17 17:16:08 -03:00
2009-01-02 17:11:34 -02:00
2008-10-17 17:17:20 -03:00
2008-10-17 17:17:30 -03:00
2008-10-17 17:17:36 -03:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2008-10-17 14:41:08 -07:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2008-12-29 17:53:26 -02:00
2008-12-30 09:40:30 -02:00
2008-10-17 17:17:40 -03:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:25 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2008-12-30 09:38:39 -02:00
2008-12-30 09:38:39 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2008-12-30 09:38:35 -02:00
2009-01-02 17:11:12 -02:00
2008-12-30 09:38:35 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2008-12-30 17:41:32 -08:00
2008-12-02 14:42:37 +08:00
2009-01-02 17:11:12 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2008-11-11 08:11:23 -02:00
2008-10-17 17:17:52 -03:00
2008-10-17 17:19:41 -03:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2008-10-17 17:20:01 -03:00
2009-01-02 17:11:34 -02:00
2008-12-30 09:40:27 -02:00
2008-12-30 09:40:21 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:12 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2008-12-30 09:39:31 -02:00
2009-01-02 17:11:34 -02:00
2008-12-30 09:39:32 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2008-12-30 09:39:31 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2008-10-17 17:29:09 -03:00
2008-12-30 09:38:36 -02:00
2008-12-30 09:38:36 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:39 -02:00
2008-12-30 09:38:37 -02:00
2008-10-21 14:31:20 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2008-10-21 14:32:08 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:12 -02:00
2009-01-02 17:11:52 -02:00
2008-10-17 17:20:13 -03:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:34 -02:00
2009-01-02 17:11:52 -02:00
2009-01-02 17:11:52 -02:00
2009-01-03 10:50:26 -02:00