power: supply: axp288_fuel_gauge: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Jun 2021 09:29:24 +0000 (10:29 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 29 Jun 2021 22:10:26 +0000 (00:10 +0200)
commitf390e4bd79289b85bfe345d4d9d160dc4926dfc1
treee41ac56b8ef60982a48ac798ffa8cd366e14c60b
parent3a06b912a5ce494d7b7300b12719c562be7b566f
power: supply: axp288_fuel_gauge: remove redundant continue statement

The continue statement at the end of a for-loop has no effect,
invert the if expression and remove the continue.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_fuel_gauge.c