summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-29 11:28:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 12:30:12 +0100
commit22eeaff367ac85a09643b2b8a5af064ec8773f63 (patch)
tree0aa093016d08a78d0f59c24ee76ddf0a692b7f1e /arch/arm/common
parentARM: sa1111: cleanup sub-device registration and unregistration (diff)
downloadlinux-22eeaff367ac85a09643b2b8a5af064ec8773f63.tar.xz
linux-22eeaff367ac85a09643b2b8a5af064ec8773f63.zip
ARM: sa1111: use dev_err() rather than printk()
Use dev_err() to report device specific errors rather than printk(). Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/sa1111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index 8d86338a54ca..9173d112ea01 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -655,7 +655,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
ret = request_resource(parent, &dev->res);
if (ret) {
- printk("SA1111: failed to allocate resource for %s\n",
+ dev_err(sachip->dev, "failed to allocate resource for %s\n",
dev->res.name);
goto err_resource;
}