]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: sa1111: use dev_err() rather than printk()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Jan 2012 10:28:09 +0000 (10:28 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:12 +0000 (11:30 +0000)
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>
arch/arm/common/sa1111.c

index 8d86338a54ca4ede08cf55ad43115f90bc72f449..9173d112ea0156a31b2f2769731a3b80be7de680 100644 (file)
@@ -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;
        }