power: supply: max77693_charger: fix unintentional fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 17 Jul 2018 21:47:39 +0000 (16:47 -0500)
committerSebastian Reichel <sre@kernel.org>
Sun, 22 Jul 2018 22:14:49 +0000 (00:14 +0200)
commitcc44ba91166beb78f9cb29d5e3d41c0a2d0a7329
tree6ed372bdbcb0f878ecff6a27b885152c3d7331d9
parenta427503edaaed9b75ed9746a654cece7e93e60a8
power: supply: max77693_charger: fix unintentional fall-through

It seems that a *break* is missing in order to avoid a fall-through.
Otherwise, the calculation of *data* makes no sense.

Addresses-Coverity-ID: 1271172 ("Missing break in switch")
Fixes: 87c2d9067893 ("power: max77693: Add charger driver for Maxim 77693")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/max77693_charger.c