leds: lp5523: make separate API for loading engine
authorMilo Kim <milo.kim@ti.com>
Thu, 8 Aug 2013 04:56:01 +0000 (13:56 +0900)
committerBryan Wu <cooloney@gmail.com>
Tue, 27 Aug 2013 00:22:13 +0000 (17:22 -0700)
commitb9e1730b295087f5561477a184878783fd3d96d2
tree3ef7e524f0cba21ffd76b03f960827e9fe4d581e
parent1eca0b3ab8d04e2b1749b28cbcafbba6f6e74225
leds: lp5523: make separate API for loading engine

lp5523_load_engine()
  It is called whenever the operation mode is changed to 'load'.
  It is used for simple operation mode change.
  It will be used when engine mode and LED selection is updated in later patch.

lp5523_load_engine_and_select_page()
  Change the operation mode to 'load' and select program page number.
  This is used for programming a LED pattern at a time.
  So load_engine() is replaced with new API, load_engine_and_select_page()
  in lp5523_firmware_loaded().

Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lp5523.c
This page took 0.027726 seconds and 5 git commands to generate.