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:
Родитель
aafbf04f95
Коммит
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) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче