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
..
2015-03-01 18:46:15 -08:00
2015-02-19 10:36:45 -08:00
2015-01-17 16:06:20 -08:00
2015-03-18 11:16:36 +01:00
2015-03-16 16:17:31 +01:00
2015-03-12 11:13:41 +01:00
2015-03-16 16:28:31 +01:00
2015-03-16 16:20:49 +01:00
2015-03-06 17:29:10 -08:00
2015-03-18 11:16:36 +01:00
2015-03-15 18:41:11 +01:00
2015-03-16 16:28:47 +01:00
2015-03-18 11:16:36 +01:00
2015-03-16 16:28:47 +01:00
2015-03-01 17:09:52 -08:00
2015-03-16 16:22:16 +01:00
2015-03-18 11:16:36 +01:00
2015-03-18 10:41:29 +01:00
2015-03-18 10:46:08 +01:00
2015-03-15 18:41:11 +01:00
2015-01-17 15:17:10 -08:00
2015-03-16 16:28:47 +01:00
2015-01-17 15:00:23 -08:00
2015-01-17 15:00:23 -08:00
2015-01-17 15:17:10 -08:00
2015-03-06 16:14:08 -08:00
2015-03-06 16:31:58 -08:00
2015-03-16 16:08:01 +01:00
2015-03-16 16:00:20 +01:00
2015-03-18 10:32:39 +01:00
2015-03-18 10:32:39 +01:00
2015-03-16 16:23:44 +01:00
2015-03-16 16:17:31 +01:00
2015-03-15 18:41:15 +01:00
2015-03-06 15:55:36 -08:00
2015-03-06 16:35:54 -08:00
2015-03-15 18:41:15 +01:00
2015-03-09 13:30:40 +01:00
2015-03-06 15:55:36 -08:00
2015-03-16 16:36:37 +01:00
2015-03-06 17:03:22 -08:00
2015-03-15 18:41:10 +01:00
2015-03-06 16:26:58 -08:00
2015-03-15 18:41:10 +01:00
2015-03-06 15:22:43 -08:00
2015-03-06 17:28:09 -08:00
2015-03-06 17:28:09 -08:00