From: Russell King Date: Sun, 29 Jan 2012 10:28:09 +0000 (+0000) Subject: ARM: sa1111: use dev_err() rather than printk() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=22eeaff367ac85a09643b2b8a5af064ec8773f63;p=linux-beck.git ARM: sa1111: use dev_err() rather than printk() Use dev_err() to report device specific errors rather than printk(). Acked-by: Nicolas Pitre Signed-off-by: Russell King --- 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; }