diff options
| author | Meghana Madhyastha <[email protected]> | 2018-01-24 16:34:07 +0000 |
|---|---|---|
| committer | Sean Paul <[email protected]> | 2018-01-29 15:34:53 +0000 |
| commit | 5b698be0497d8be986e2050e9b1c145b2e0603c2 (patch) | |
| tree | bdef5f615f5c3e4170b34fab7966ac5135fbbfd8 /drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | |
| parent | Linux 4.15 (diff) | |
| download | kernel-5b698be0497d8be986e2050e9b1c145b2e0603c2.tar.gz kernel-5b698be0497d8be986e2050e9b1c145b2e0603c2.zip | |
video: backlight: Add helpers to enable and disable backlight
Add helper functions backlight_enable and backlight_disable to
enable/disable a backlight device. These helper functions can
then be used by different drm and tinydrm drivers to avoid
repetition of code and also to enforce a uniform and consistent
way to enable/disable a backlight device.
Acked-by: Daniel Thompson <[email protected]>
Reviewed-by: Noralf Trønnes <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Signed-off-by: Meghana Madhyastha <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/39b5bf0a02008a8072d910bdf8231c431e9ef504.1516810725.git.meghana.madhyastha@gmail.com
Diffstat (limited to 'drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c')
0 files changed, 0 insertions, 0 deletions
