alistair23-linux/drivers/staging/ft1000/ft1000-usb
Haneen Mohammed 41f06c619a Staging: ft1000: replace pr_err with dev_err
This patch replace pr_err with dev_err, when appropriate device
structure is found.

Issue found using the following Coccinelle script:

@r exists@
identifier f, s, i;
position p;
@@

f(...,struct s *i,...) {
<+...
when != i == NULL
pr_err@p(...);
...+>
}

@rr@
identifier r.s, fld;
@@

struct s {
	...
	struct device *fld;
	...
};

@@
identifier r.i, rr.fld;
position r.p;
@@
-pr_err@p
+dev_err
   (
+ i->fld,
...)

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 11:16:36 +01:00
..
ft1000_debug.c Staging: ft1000: Remove parentheses around right side an assignment 2015-03-16 16:24:19 +01:00
ft1000_download.c Staging: ft1000: Remove parentheses around right side an assignment 2015-03-16 16:24:19 +01:00
ft1000_hw.c Staging: ft1000: Iterate list using list_for_each_entry 2015-03-16 16:22:16 +01:00
ft1000_ioctl.h staging: ft1000: Whitespace neatening 2014-11-03 16:35:32 -08:00
ft1000_usb.c Staging: ft1000: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
ft1000_usb.h staging: ft1000: Logging message neatening 2014-11-03 16:36:35 -08:00
ft3000.img
Makefile staging: ft1000: remove procfs entries 2014-07-27 11:45:46 -07:00