From: Thierry Reding Date: Tue, 18 Dec 2012 00:01:06 +0000 (-0800) Subject: backlight: add of_find_backlight_by_node() X-Git-Tag: v3.8-rc1~74^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762a936fba7bd9225ca9a96e4860f6969b6b5670;p=pandora-kernel.git backlight: add of_find_backlight_by_node() This function finds the struct backlight_device for a given device tree node. A dummy function is provided so that it safely compiles out if OF support is disabled. [akpm@linux-foundation.org: Don't use IS_ENABLED(CONFIG_OF)] Signed-off-by: Thierry Reding Acked-by: Jingoo Han Reviewed-by: Grant Likely Cc: Thierry Reding Reviewed-by: Grant Likely Acked-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed