diff options
author | Axel Lin | 2012-09-22 08:40:14 +0200 |
---|---|---|
committer | Bryan Wu | 2012-09-24 06:24:22 +0200 |
commit | e76a322af16ba7be9b303239352e140209bf3822 (patch) | |
tree | 1d811be54daa4c11b196fea6f9b8457318cd9e29 /drivers/leds/leds-pca9633.c | |
parent | leds: Add new LED driver for lm3642 chips (diff) | |
download | kernel-qcow2-linux-e76a322af16ba7be9b303239352e140209bf3822.tar.gz kernel-qcow2-linux-e76a322af16ba7be9b303239352e140209bf3822.tar.xz kernel-qcow2-linux-e76a322af16ba7be9b303239352e140209bf3822.zip |
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 'drivers/leds/leds-pca9633.c')
0 files changed, 0 insertions, 0 deletions