]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pv88060: Fix .ops for PV88060_SW
authorAxel Lin <axel.lin@ingics.com>
Fri, 15 Feb 2019 01:42:49 +0000 (09:42 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Feb 2019 18:27:51 +0000 (18:27 +0000)
commit8160a801eb1b6ce673457d9c61b308df72a607a8
tree0d2dff20bbbc27cc7928e9e5566715edd898acfd
parentdc407cfb25e50905fe9e4de68cec119a2a6f34fd
regulator: pv88060: Fix .ops for PV88060_SW

There is no vsel_reg/vsel_mask settings for PV88060_ID_SWx, so don't use
pv88060_ldo_ops for PV88060_SW. The PV88060_ID_SWx is fixed voltage,
set .fixed_uV instead of .min_uV then regulator core will automatically
support get_voltage and list_voltage.

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