linux/drivers/staging/gdm724x
Haneen Mohammed df02b50acf Staging: gdm724x: replace pr_err with dev_err
This patch replace pr_err with dev_err, when appropriate device structre
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
..
gdm_endian.c staging: gdm724x: Modified function name conflict set_endian 2013-07-29 11:29:37 -07:00
gdm_endian.h staging: gdm724x: Modified function name conflict set_endian 2013-07-29 11:29:37 -07:00
gdm_lte.c staging: gdm724x: use !x instead of x == NULL 2015-03-16 16:28:47 +01:00
gdm_lte.h staging: removed space after return function in gdm_lte.h 2014-03-16 20:34:28 -07:00
gdm_mux.c Staging: gdm724x: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
gdm_mux.h staging: gdm724x: Fix incorrect type in assignment 2014-10-20 10:29:18 +08:00
gdm_tty.c Staging: gdm724x: gdm_tty.c: fix missing blank line after variable declaration 2014-07-17 18:05:47 -07:00
gdm_tty.h staging: gdm7240: a TTY rewrite according to the latest TTY APIs 2013-08-19 15:30:59 -07:00
gdm_usb.c Staging: gdm724x: replace pr_err with dev_err 2015-03-18 11:16:36 +01:00
gdm_usb.h staging: gdm724x: Remove version.h header inclusion in gdm_usb.h 2013-07-25 12:11:58 -07:00
hci_packet.h
hci.h
Kconfig staging: gdm724x: depend on CONFIG_TTY 2013-07-29 12:27:40 -07:00
Makefile
netlink_k.c staging: gdm724x: Use NLMSG_HDRLEN 2014-07-22 16:08:13 -07:00
netlink_k.h
TODO staging: gdm724x: add tty stuff to TODO file. 2013-07-24 13:16:53 -07:00