OMAP: omap_device: replace debug/warning/error prints with dev_* macros
authorKevin Hilman <khilman@ti.com>
Thu, 21 Jul 2011 16:58:36 +0000 (09:58 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 23:35:45 +0000 (16:35 -0700)
commit49882c99401fa2777157908479169accf039cab7
tree7f4f9de2e23019d6ccda82f81775ca5bf8bd6ccc
parent796ba283b076466df0b10b6ee54af45b9c1d4d04
OMAP: omap_device: replace debug/warning/error prints with dev_* macros

For consistency in kernel printk output for devices, use dev_dbg(),
dev_warn(), dev_err() instead of pr_debug(), pr_warning() and
pr_err(), some of which currently use direct access of name from
platform_device and others of which use dev_name().  Using the dev_*
versions uses the standard device naming from the driver core.

Some pr_* prints were not converted with this patch since they are
used before the platform_device and struct device are created so
neither the dev_* prints or dev_name() is valid.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c