aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-09-18 13:13:28 +0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-10-28 22:40:31 +0100
commit993af7c048f414121bc81e0d6e69456e3862a06b (patch)
tree26b8990dddfbd056d95b2ac0458af0103ed080c4 /drivers/regulator/core.c
parent5976f0959d5251ae5b4db848eaa2f42a19e98652 (diff)
downloadkernel_samsung_smdk4412-993af7c048f414121bc81e0d6e69456e3862a06b.zip
kernel_samsung_smdk4412-993af7c048f414121bc81e0d6e69456e3862a06b.tar.gz
kernel_samsung_smdk4412-993af7c048f414121bc81e0d6e69456e3862a06b.tar.bz2
Regulator: lp3972 cleanup
This patch includes below fixes based on Mark's comment. - Return actual error if i2c_smbus_read_byte_data() fail - Add spaces around bitwise AND operator(&) to improve readability - Add comment to explain why we need to update voltage change control register for LDO1 and LDO5 - Logging the value for diagnostics if chip reported incorrect voltage value - Add __devinit annotation for setup_regulators() - Show system control register1 value if the value is mismatched - Logging the value for diagnostics if failed to detect device Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/core.c')
0 files changed, 0 insertions, 0 deletions