mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
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>
This commit is contained in:
parent
813b451644
commit
6ed28105c0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue