diff options
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
-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) |