diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-03-06 13:20:21 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 6504b9bdf6f330dc66667e8b2e0a91a2ffa84e33 (patch) | |
tree | e34dd910f5b2d7d4b81dc10407699fb223aa15d1 /net/l2tp | |
parent | fcf59a7c611999f8b9b5fe1c08fe4d6c45b93e6b (diff) | |
download | blackbird-obmc-linux-6504b9bdf6f330dc66667e8b2e0a91a2ffa84e33.tar.gz blackbird-obmc-linux-6504b9bdf6f330dc66667e8b2e0a91a2ffa84e33.zip |
staging: sm750fb: convert pr_err() to dev_err()
Replace pr_err() calls with respective dev_err() counterpart.
Change is safe since pdev is not NULL, this was identified by hand.
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 'net/l2tp')
0 files changed, 0 insertions, 0 deletions