summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pca9633.c
diff options
context:
space:
mode:
authorAxel Lin2012-09-22 08:40:14 +0200
committerBryan Wu2012-09-24 06:24:22 +0200
commite76a322af16ba7be9b303239352e140209bf3822 (patch)
tree1d811be54daa4c11b196fea6f9b8457318cd9e29 /drivers/leds/leds-pca9633.c
parentleds: Add new LED driver for lm3642 chips (diff)
downloadkernel-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