backlight: lp855x: add a device tree structure
authorKim, Milo <Milo.Kim@ti.com>
Mon, 29 Apr 2013 23:18:06 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:19 +0000 (18:28 -0700)
commit4add06645a0be0519030705e3076e1a5ceba7477
tree1a1b55b7422981a0fb7b9f4ab20d3e097f64812b
parentc365e59d47b75c5f288f7e63d95dc0c9abcfe516
backlight: lp855x: add a device tree structure

Enable supporting the DT structure of LP855x family devices.  If the
platform data is NULL, the driver tries to parse a DT structure.  Then,
the platform data is copied from the DT.  Documentation is added as well.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/devicetree/bindings/video/backlight/lp855x.txt [new file with mode: 0644]
drivers/video/backlight/lp855x_bl.c