提交 faa64c93 编写于 作者: R Russell King 提交者: 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: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册