]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3da50f72721917d687553fbd1f19e694b87431ea
tree467df19b0893bfcb8a132ed382130ad46615477f
parent6e64e49b2dc8b5ba5340effdb110bc08f4249305
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