Commit 3cc52437 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sebastian Reichel
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent aafbf04f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) ||