summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/stm32-pwr.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: stm32-pwr: Remove unneeded .min_uV and .list_volageAxel Lin2019-05-031-2/+0Star
| | | | | | | | For fixed regulator, setting .n_voltages = 1 and .fixed_uV is enough, no need to set .min_uV and .list_volage. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: stm32-pwr: Remove unneeded *desc from struct stm32_pwr_regAxel Lin2019-05-031-5/+3Star
| | | | | | | Just use rdev->desc instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: stm32-pwr: Fix return value check in stm32_pwr_regulator_probe()Wei Yongjun2019-04-171-2/+2
| | | | | | | | | | In case of error, the function of_iomap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: ready_mask_table[] can be statickbuild test robot2019-04-171-3/+3
| | | | | | Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: Add support for stm32 power regulatorsPascal PAILLET-LME2019-04-151-0/+190
Add support for 1V1 1V8 USB3V3 power regulators. Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>