diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-03-05 23:16:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-10 19:26:05 -0800 |
commit | 7b50908a5eee25125023e22c5fed93f659bddd00 (patch) | |
tree | bc86923ce788880d2a6b8dce85f4e2ff85f5f6dc /drivers/staging/most | |
parent | 9d521ca71d95a5aede00559db64622fdf5ee7dde (diff) | |
download | linux-7b50908a5eee25125023e22c5fed93f659bddd00.tar.bz2 |
staging: unisys: visorinput: convert pr_err() to dev_err()
Replace pr_err() calls with respective dev_err() counterpart.
Semantic patch used to detect and apply the transformation:
@r exists@
identifier f,s,i;
position p;
@@
f(...,struct s *i,...) {
<+...
pr_err@p(...)
...+>
}
@s@
identifier r.s, dev;
@@
struct s {
...
struct device dev;
...
};
@t@
identifier r.i, s.dev;
expression fmt;
position r.p;
@@
- pr_err@p(
+ dev_err(&i->dev,
fmt, ...);
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
0 files changed, 0 insertions, 0 deletions