projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.9/block-smp' of git://git.kernel.dk/linux-block
[cascardo/linux.git]
/
drivers
/
i2c
/
busses
/
i2c-wmt.c
diff --git
a/drivers/i2c/busses/i2c-wmt.c
b/drivers/i2c/busses/i2c-wmt.c
index
e1e3a85
..
fbd0fd5
100644
(file)
--- a/
drivers/i2c/busses/i2c-wmt.c
+++ b/
drivers/i2c/busses/i2c-wmt.c
@@
-432,10
+432,8
@@
static int wmt_i2c_probe(struct platform_device *pdev)
}
err = i2c_add_adapter(adap);
- if (err) {
- dev_err(&pdev->dev, "failed to add adapter\n");
+ if (err)
return err;
- }
platform_set_drvdata(pdev, i2c_dev);