diff options
| author | Axel Lin <axel.lin@ingics.com> | 2012-09-22 14:40:14 +0800 |
|---|---|---|
| committer | Bryan Wu <bryan.wu@canonical.com> | 2012-09-24 12:24:22 +0800 |
| commit | e76a322af16ba7be9b303239352e140209bf3822 (patch) | |
| tree | 1d811be54daa4c11b196fea6f9b8457318cd9e29 /lib/debug_locks.c | |
| parent | 8b7cfbec052d3a0b8e8c7de24a6b5f00d340e193 (diff) | |
leds: lm3642: Use regmap_update_bits() in lm3642_chip_init()
Use regmap_update_bits() to replace regmap_read() + regmap_write().
With this patch, we only show the error message when regmap_update_bits()
fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: G.Shark Jeong<gshark.jeong@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions
