mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
power: supply: rk817: Simplify an error message
dev_err_probe() already display the error code. There is no need to duplicate it explicitly in the error message. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
aafbf04f95
commit
3cc52437d9
|
|
@ -1134,7 +1134,7 @@ static int rk817_charger_probe(struct platform_device *pdev)
|
|||
&bat_info);
|
||||
if (ret) {
|
||||
return dev_err_probe(dev, ret,
|
||||
"Unable to get battery info: %d\n", ret);
|
||||
"Unable to get battery info\n");
|
||||
}
|
||||
|
||||
if ((bat_info->charge_full_design_uah <= 0) ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user