Skip to content

Commit

Permalink
extcon: max8997: use dev_err() instead of pr_err()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Chanwoo Choi committed Apr 8, 2013
1 parent 813b451 commit 6ed2810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/extcon/extcon-max8997.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6ed2810

Please sign in to comment.