2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-14 16:44:29 +08:00
linux-next/drivers/staging/unisys
Eva Rachel Retuya 7b50908a5e 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>
2016-03-10 19:26:05 -08:00
..
Documentation staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
include staging: unisys: iochannel.h add_phys_info needs u64 pfn 2016-02-25 22:41:48 -08:00
visorbus staging: unisys: visorbus: variable adjustment should be a u64 2016-03-10 19:26:05 -08:00
visorhba staging: unisys: Modify boolean assignment 2016-02-11 19:37:15 -08:00
visorinput staging: unisys: visorinput: convert pr_err() to dev_err() 2016-03-10 19:26:05 -08:00
visornic staging: unisys: visornic: Remove create_singlethread_workqueue() 2016-03-01 19:14:07 -08:00
Kconfig staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
MAINTAINERS staging: unisys: Update MAINTAINERS file 2016-03-01 19:14:07 -08:00
Makefile staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
TODO staging: unisys: documentation and TODO tweaks 2015-09-12 18:24:43 -07:00