aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pv88060-regulator.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-01-31regulator: pv88060-regulator: constify regulator_ops structureBhumika Goyal1-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>
2016-05-30regulator: pv880x0: Clean up unnecessary header inclusionAxel Lin1-3/+0
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2016-03-08regulator: pv88060: fix incorrect clear of event registerJames Ban1-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>
2015-12-01regulator: pv88060: fix error handling in probeDan Carpenter1-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>
2015-11-25regulator: pv88060: Fix irq leakAxel Lin1-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>
2015-11-20regulator: pv88060: new regulator driverJames Ban1-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>