diff options
author | 2010-09-18 13:13:28 +0800 | |
---|---|---|
committer | 2010-10-28 22:40:31 +0100 | |
commit | 993af7c048f414121bc81e0d6e69456e3862a06b (patch) | |
tree | 26b8990dddfbd056d95b2ac0458af0103ed080c4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Regulator: LP3972 PMIC regulator driver (diff) | |
download | wireguard-linux-993af7c048f414121bc81e0d6e69456e3862a06b.tar.xz wireguard-linux-993af7c048f414121bc81e0d6e69456e3862a06b.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions