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>
This commit is contained in:
parent
924e1d4910
commit
22eeaff367
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
|
||||||
|
|
||||||
ret = request_resource(parent, &dev->res);
|
ret = request_resource(parent, &dev->res);
|
||||||
if (ret) {
|
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);
|
dev->res.name);
|
||||||
goto err_resource;
|
goto err_resource;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue