diff options
| author | Axel Lin <axel.lin@gmail.com> | 2010-09-18 13:13:28 +0800 | 
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-28 22:40:31 +0100 | 
| commit | 993af7c048f414121bc81e0d6e69456e3862a06b (patch) | |
| tree | 26b8990dddfbd056d95b2ac0458af0103ed080c4 /net/unix/garbage.c | |
| parent | 5976f0959d5251ae5b4db848eaa2f42a19e98652 (diff) | |
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 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
