From: Axel Lin Date: Sat, 22 Sep 2012 06:40:14 +0000 (+0800) Subject: leds: lm3642: Use regmap_update_bits() in lm3642_chip_init() X-Git-Tag: v3.7-rc1~60^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76a322af16ba7be9b303239352e140209bf3822;p=pandora-kernel.git 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 Acked-by: G.Shark Jeong Signed-off-by: Bryan Wu --- Reading git-diff-tree failed