From: Milo Kim Date: Thu, 8 Aug 2013 05:09:24 +0000 (+0900) Subject: leds: lp5523: remove unnecessary writing commands X-Git-Tag: v3.12-rc1~32^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f733cad3699c6fd1cc3350ab43c9f684b976e73;p=pandora-kernel.git leds: lp5523: remove unnecessary writing commands This patch reduces the number of programming commands. (Count of sending commands) Old code: 32 + program size (32 counts for clearing program memory) New code: 32 Pattern buffer is initialized to 0 in this function. Just update new program data and remaining buffers are filled with 0. So it's needless to clear whole area. Signed-off-by: Milo Kim Signed-off-by: Bryan Wu --- Reading git-diff-tree failed