projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'i2c/for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[linux-2.6-block.git]
/
drivers
/
i2c
/
busses
/
i2c-lpc2k.c
diff --git
a/drivers/i2c/busses/i2c-lpc2k.c
b/drivers/i2c/busses/i2c-lpc2k.c
index 586a15205e61ded5757ef01e107d96a0a2915e01..9b1fef455a895d6174dd9f4b4775f75f5461ebe8 100644
(file)
--- a/
drivers/i2c/busses/i2c-lpc2k.c
+++ b/
drivers/i2c/busses/i2c-lpc2k.c
@@
-432,10
+432,8
@@
static int i2c_lpc2k_probe(struct platform_device *pdev)
i2c->adap.dev.of_node = pdev->dev.of_node;
ret = i2c_add_adapter(&i2c->adap);
- if (ret < 0) {
- dev_err(&pdev->dev, "failed to add adapter!\n");
+ if (ret < 0)
goto fail_clk;
- }
dev_info(&pdev->dev, "LPC2K I2C adapter\n");