extcon: max8997: use dev_err() instead of pr_err()

dev_err() is more preferred than pr_err().

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Signed-off-by: Myungjoo Ham <[email protected]>
This commit is contained in:
Jingoo Han 2013-04-08 09:11:06 +09:00 • committed by Chanwoo Choi
commit 6ed28105c0

View file

@ -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)