projects
/
GitHub
/
moto-9609
/
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:
813b451
)
extcon: max8997: use dev_err() instead of pr_err()
author
Jingoo Han
<jg1.han@samsung.com>
Mon, 8 Apr 2013 00:11:06 +0000
(09:11 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Mon, 8 Apr 2013 22:53:46 +0000
(07:53 +0900)
dev_err() is more preferred than pr_err().
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-max8997.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/extcon/extcon-max8997.c
b/drivers/extcon/extcon-max8997.c
index 69641bcae325a8f73e226ee66d9f418730c2ddbd..20772ad4adc0eeebf63038c44c753dbf36832228 100644
(file)
--- a/
drivers/extcon/extcon-max8997.c
+++ b/
drivers/extcon/extcon-max8997.c
@@
-646,7
+646,7
@@
static void max8997_muic_detect_cable_wq(struct work_struct *work)
ret = max8997_muic_detect_dev(info);
if (ret < 0)
-
pr_err(
"failed to detect cable type\n");
+
dev_err(info->dev,
"failed to detect cable type\n");
}
static int max8997_muic_probe(struct platform_device *pdev)