diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-04-07 20:11:06 -0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-04-08 18:53:46 -0400 |
commit | 6ed28105c07e0e03bf5f5a99380b726fc4de6e93 (patch) | |
tree | ff6c0355aa45b42137dca9cb83980bd02d8b771c /drivers/extcon | |
parent | 813b451644686fb7e26a54005e2f7bd495a06121 (diff) |
extcon: max8997: use dev_err() instead of pr_err()
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 69641bcae325..20772ad4adc0 100644 --- 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) | |||
646 | 646 | ||
647 | ret = max8997_muic_detect_dev(info); | 647 | ret = max8997_muic_detect_dev(info); |
648 | if (ret < 0) | 648 | if (ret < 0) |
649 | pr_err("failed to detect cable type\n"); | 649 | dev_err(info->dev, "failed to detect cable type\n"); |
650 | } | 650 | } |
651 | 651 | ||
652 | static int max8997_muic_probe(struct platform_device *pdev) | 652 | static int max8997_muic_probe(struct platform_device *pdev) |