OSDN Git Service

regulator: hi655x: Remove ctrl_mask field from struct hi655x_regulator
authorAxel Lin <axel.lin@ingics.com>
Mon, 8 Apr 2019 12:09:33 +0000 (20:09 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Apr 2019 11:22:32 +0000 (12:22 +0100)
commit29e5cb657e2acdf902b0122ca58620ccd771f297
tree7a956fc3e65a1b136747f7bd7e75b899730d1eeb
parent784816d46aae28f84a3ec5461b6cf69b6f02d62a
regulator: hi655x: Remove ctrl_mask field from struct hi655x_regulator

The rdev->desc->enable_mask setting is always the same as
BIT(regulator->ctrl_mask), so just use rdev->desc->enable_mask instead.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/hi655x-regulator.c