Milo Kim 2f733cad36 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 <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2013-08-26 17:22:13 -07:00
..
2013-04-01 11:04:50 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2012-11-28 12:35:06 -08:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2012-11-26 14:28:45 -08:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2012-11-28 12:35:06 -08:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00