Bhumika Goyal
de71daf5c8
Staging: fsl-mc: Replace pr_debug with dev_dbg
This patch replaces pr_debug calls with dev_dbg when the device structure
is available as dev_* prints identifying information about the struct
device.
Done using coccinelle:
@r exists@
identifier f, s;
identifier x;
position p;
@@
f(...,struct s *x,...) {
<+...
when != x == NULL
\(pr_err@p\|pr_debug@p\|pr_info\)(...);
...+>
}
@r2@
identifier fld2;
identifier r.s;
@@
struct s {
...
struct device *fld2;
...
};
@@
identifier r.x,r2.fld2;
position r.p;
@@
(
-pr_err@p
+dev_err
(
+ &x->fld2,
...)
|
- pr_debug@p
+ dev_dbg
(
+ &x->fld2,
...)
|
- pr_info@p
+ dev_info
(
+ &x->fld2,
...)
)
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
2016-03-11 22:09:09 -08:00
2016-02-07 19:57:22 -08:00
2016-02-07 20:05:31 -08:00
2016-03-10 19:35:54 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-02-07 19:36:14 -08:00
2016-03-05 14:48:04 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-05 15:00:38 -08:00
2016-03-01 16:31:55 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-02-20 15:24:51 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-02-25 22:38:16 -08:00
2016-02-22 12:03:22 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-10 19:44:34 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-05 14:48:04 -08:00
2016-03-11 22:09:09 -08:00
2016-03-10 19:29:45 -08:00
2016-03-11 22:09:09 -08:00
2016-03-10 19:21:18 -08:00
2016-03-10 19:21:18 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00
2016-03-11 22:09:09 -08:00