summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pv88060-regulator.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: pv88060-regulator: constify regulator_ops structureBhumika Goyal2017-01-311-2/+2
| | | | | | | | | | | | | | | | | Declare regulator_ops structure as const as it is only stored in the ops field of a regulator_desc structure. This field is of type const, so regulator_ops structures having this property can be made const too. File size before: drivers/regulator/pv88060-regulator.o text data bss dec hex filename 6195 752 8 6955 1b2b regulator/pv88060-regulator.o File size after: drivers/regulator/pv88060-regulator.o text data bss dec hex filename 6739 240 8 6987 1b4b regulator/pv88060-regulator.o Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: pv880x0: Clean up unnecessary header inclusionAxel Lin2016-05-301-3/+0Star
| | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: pv88060: fix incorrect clear of event registerJames Ban2016-03-081-4/+4
| | | | | | | This is a patch to fix incorrect clear of event register. Signed-off-by: James Ban <James.Ban.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: pv88060: fix error handling in probeDan Carpenter2015-12-011-2/+2
| | | | | | | There were some missing "ret = " assignments here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: pv88060: Fix irq leakAxel Lin2015-11-251-1/+1
| | | | | | | | Use devm_request_threaded_irq to ensure the irq is freed when unload the module. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: pv88060: new regulator driverJames Ban2015-11-201-0/+437
This is the driver for the Powerventure PV88060 BUCKs and LDOs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban <James.Ban.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>