]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4904abb4aa4324a1e7e94d617f7532d9d1b50f1b
tree7a956fc3e65a1b136747f7bd7e75b899730d1eeb
parent9442443cf7861b791c0c0b18bb1cc5670e3923d4
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