From: Haneen Mohammed Date: Mon, 2 Mar 2015 18:37:38 +0000 (+0300) Subject: Staging: emxx_udc: Replace custom printk macro ERR with dev_err or pr_err X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~683 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886892798c9d29d3bb32e6a6d24e09565d71659e;p=pandora-kernel.git Staging: emxx_udc: Replace custom printk macro ERR with dev_err or pr_err This patch removes the use of custom printk macros ERR and replace it with dev_err, or pr_err in the following cases: - if no appropriate struct device *dev field where found for dev_err. - or dev could be null eg. "dev_err(udc->dev" not possible inside "if (udc == null)" Issue addressed by checkpatch.pl. Signed-off-by: Haneen Mohammed Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed