regulator: rt6160: Remove vsel_active_low from struct rt6160_priv
authorAxel Lin <axel.lin@ingics.com>
Tue, 15 Jun 2021 10:39:47 +0000 (18:39 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 15 Jun 2021 11:51:53 +0000 (12:51 +0100)
commitf3f4f37d53be578c65dd32a1ffad432b33aef236
tree467df19b0893bfcb8a132ed382130ad46615477f
parent00430f71b2b18e42ba3d733cbd2d725ec5b2ca80
regulator: rt6160: Remove vsel_active_low from struct rt6160_priv

Use a local variable instead is enough, this simplifies the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210615103947.3387994-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rt6160-regulator.c