drivers/video/backlight/platform_lcd.c: add support for device tree based probe
authorJingoo Han <jg1.han@samsung.com>
Fri, 5 Oct 2012 00:13:01 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:54 +0000 (03:04 +0900)
commit52e842432f36d5b15227d0ee0d2aa3d2bc3cc0b2
tree06ef0a36c4760fa422a93e85a81c093050da0fb1
parent66be0e5bf5f555742a14a14712b537470dd2ba7e
drivers/video/backlight/platform_lcd.c: add support for device tree based probe

This patch adds the of_match_table to platform-lcd driver to be
probed when platform-lcd device node is found in the device tree.

[akpm@linux-foundation.org: include of.h]
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/platform_lcd.c