From: Andrew Bresticker Date: Mon, 29 Apr 2013 23:17:58 +0000 (-0700) Subject: drivers/video/backlight/platform_lcd.c: introduce probe callback X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~123^2~237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e1915eef9c0e935a09808a30e167abb857b4ec;p=pandora-kernel.git drivers/video/backlight/platform_lcd.c: introduce probe callback Platform LCD devices may need to do some device-specific initialization before they can be used (regulator or GPIO setup, for example), but currently the driver does not support any way of doing this. This patch adds a probe() callback to plat_lcd_data which platform LCD devices can set to indicate that device-specific initialization is needed. Signed-off-by: Andrew Bresticker Cc: Richard Purdie Cc: Florian Tobias Schandinat Reviewed-by: Doug Anderson Acked-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed