WSL2-Linux-Kernel/drivers/staging/media
Haneen Mohammed 2c9356d115 Staging: media: replace pr_* with dev_*
This patch replace pr_err/pr_info with dev_err/dev_infi, when
appropriate device structure is found.

Issues found using the following Coccinelle script. pr_err/dev_err was
substituted with pr_info/dev_info in the later case.

@r exists@
identifier f, s, i;
position p;
@@
f(...,struct s *i,...) {
<+...
when != i == NULL
pr_err@p(...);
...+>
}
@rr@
identifier r.s, s2, fld;
@@

struct s {
	...
	struct s2 *fld;
	...
};

@rrr@
identifier rr.s2, fld2;
@@

struct s2 {
	...
	struct device fld2;
	...
};
@@
identifier r.i, r.s, rr.fld, rrr.fld2;
position r.p;
@@

-pr_err@p
+dev_err
   (
+ &i->fld->fld2,
...)

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 11:21:33 +01:00
..
bcm2048 Staging: media: Use module_i2c_driver 2015-03-18 10:46:08 +01:00
cxd2099 staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
davinci_vpfe Staging: media: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
dt3155v4l
lirc Staging: media: replace pr_* with dev_* 2015-03-18 11:21:33 +01:00
mn88472 Staging: media: Remove parentheses around right side an assignment 2015-03-16 16:24:19 +01:00
mn88473 Staging: media: Remove parentheses around right side an assignment 2015-03-16 16:24:19 +01:00
omap4iss Staging: media: clean dev_err logging 2015-03-06 15:55:36 -08:00
Kconfig [media] bw/c-qcam, w9966, pms: remove deprecated staging drivers 2015-01-29 19:16:10 -02:00
Makefile [media] bw/c-qcam, w9966, pms: remove deprecated staging drivers 2015-01-29 19:16:10 -02:00