diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-29 05:28:09 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-24 07:30:12 -0400 |
commit | 22eeaff367ac85a09643b2b8a5af064ec8773f63 (patch) | |
tree | 0aa093016d08a78d0f59c24ee76ddf0a692b7f1e /arch/arm/common/sa1111.c | |
parent | 924e1d4910a1f7d53f949a92a5d7793e572bb21d (diff) |
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/sa1111.c')
-rw-r--r-- | arch/arm/common/sa1111.c | 2 |
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, | |||
655 | 655 | ||
656 | ret = request_resource(parent, &dev->res); | 656 | ret = request_resource(parent, &dev->res); |
657 | if (ret) { | 657 | if (ret) { |
658 | printk("SA1111: failed to allocate resource for %s\n", | 658 | dev_err(sachip->dev, "failed to allocate resource for %s\n", |
659 | dev->res.name); | 659 | dev->res.name); |
660 | goto err_resource; | 660 | goto err_resource; |
661 | } | 661 | } |