From: Russell King Date: Sun, 29 Jan 2012 10:28:09 +0000 (+0000) Subject: ARM: sa1111: use dev_err() rather than printk() X-Git-Tag: v3.4-rc1~83^2^3~10^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22eeaff367ac85a09643b2b8a5af064ec8773f63;p=profile%2Fivi%2Fkernel-x86-ivi.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 8d86338..9173d11 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; }