commit | a0fc8b6a3bc52f3a3ecf13eb380e15c470b8e6f8 | [log] [tgz] |
---|---|---|
author | Ondrej Jirman <megous@megous.com> | Sun Feb 23 00:56:34 2020 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Feb 24 13:41:35 2020 +0000 |
tree | 2c155f8f1035ca2305d2c3eb408cc72d8278414f | |
parent | 502cdd605edd95209661c8bf90927af6d05c011c [diff] |
regulator: axp20x: Fix misleading use of negation It works incidentally, because AXP20X_DCDC2_LDO3_V_RAMP_DCDC2_EN is non-zero, but the false branch value really should be just 0. Signed-off-by: Ondrej Jirman <megous@megous.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Link: https://lore.kernel.org/r/20200222235634.243805-1-megous@megous.com Signed-off-by: Mark Brown <broonie@kernel.org>