projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d0b61
)
i2c: print more info when of_i2c_notify fails
author
Wolfram Sang
<wsa-dev@sang-engineering.com>
Sat, 9 Jul 2016 04:35:02 +0000
(13:35 +0900)
committer
Wolfram Sang
<wsa@the-dreams.de>
Thu, 14 Jul 2016 13:07:41 +0000
(22:07 +0900)
Use dev_err instead of pr_err for more details.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/i2c-core.c
b/drivers/i2c/i2c-core.c
index 1a91b517310400578244878a78825cdf0bcad416..a2f69db4f4dff3ee8748e6733b1f002c98249954 100644
(file)
--- a/
drivers/i2c/i2c-core.c
+++ b/
drivers/i2c/i2c-core.c
@@
-2103,8
+2103,8
@@
static int of_i2c_notify(struct notifier_block *nb, unsigned long action,
put_device(&adap->dev);
if (IS_ERR(client)) {
-
pr_err("%s: failed to create
for '%s'\n",
-
__func__,
rd->dn->full_name);
+
dev_err(&adap->dev, "failed to create client
for '%s'\n",
+ rd->dn->full_name);
return notifier_from_errno(PTR_ERR(client));
}
break;