Commit faa64c93 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] fix impd1.c build warning

  CC      arch/arm/mach-integrator/impd1.o
arch/arm/mach-integrator/impd1.c: In function `impd1_probe':
arch/arm/mach-integrator/impd1.c:408: warning: too few arguments for format
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b09c3e3f
...@@ -405,7 +405,7 @@ static int impd1_probe(struct lm_device *dev) ...@@ -405,7 +405,7 @@ static int impd1_probe(struct lm_device *dev)
ret = amba_device_register(d, &dev->resource); ret = amba_device_register(d, &dev->resource);
if (ret) { if (ret) {
dev_err(&d->dev, "unable to register device: %d\n"); dev_err(&d->dev, "unable to register device: %d\n", ret);
kfree(d); kfree(d);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment