summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/slg51000-regulator.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: slg51000: Remove unneeded regl_pdata from struct slg51000Axel Lin2019-05-241-11/+6Star
| | | | | | | | Just use a local variable *ena_gpiod in slg51000_of_parse_cb instead. With this change, the struct slg51000_pdata can be removed. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: slg51000: Constify slg51000_regl_ops and slg51000_switch_opsAxel Lin2019-05-241-2/+2
| | | | | | | | These regulator_ops variables never need to be modified, make them const so compiler can put them to .rodata. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: slg51000: add slg51000 regulator driverEric Jeong2019-05-131-0/+528
Adding regulator driver for the device Dialog SLG51000. The SLG51000 device contains seven compact and customizable low dropout regulators and is designed for high performance camera modules and other small multi-rail applications. Signed-off-by: Eric Jeong <eric.jeong.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>