leds: leds-mc13783: Prepare driver to support MC13892 LEDs
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 10 Jun 2013 16:59:30 +0000 (09:59 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 20 Jun 2013 23:21:34 +0000 (16:21 -0700)
commit9d263813c27e2ad3da7ea0877e623f4ff8767ddd
tree07eb43efd73190d4d5f117113db12c2ade9afda0
parentfb277f5b3a15c895586545d3938dc869e760bec6
leds: leds-mc13783: Prepare driver to support MC13892 LEDs

This patch rewrite driver code to be ready to add support for
MC13892 LEDs and probe from devicetree.

(cooloney@gmail.com: fix one coding style issue when apply this patch)

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Tested-by: Philippe Retornaz <philippe.retornaz@epfl.ch>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
arch/arm/mach-imx/mach-mx31moboard.c
drivers/leds/leds-mc13783.c
include/linux/mfd/mc13xxx.h