diff options
| author | Thierry Reding <[email protected]> | 2012-12-18 00:01:06 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-12-18 01:15:16 +0000 |
| commit | 762a936fba7bd9225ca9a96e4860f6969b6b5670 (patch) | |
| tree | afb3f60c95eb8d21573e80683c61bb43ebb58ffe /lib/dynamic_debug.c | |
| parent | drivers/video/backlight/lm3639_bl.c: fix up world writable sysfs file (diff) | |
| download | kernel-762a936fba7bd9225ca9a96e4860f6969b6b5670.tar.gz kernel-762a936fba7bd9225ca9a96e4860f6969b6b5670.zip | |
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.
[[email protected]: Don't use IS_ENABLED(CONFIG_OF)]
Signed-off-by: Thierry Reding <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Cc: Thierry Reding <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
