diff options
author | Meghana Madhyastha <meghana.madhyastha@gmail.com> | 2018-01-24 19:34:48 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-02-20 19:07:22 +0300 |
commit | 414147e8a3870ff0f7fbd8dc3a33029d6aab1b02 (patch) | |
tree | 9a0a61ef7d50066bb96f34411ea707ef4551537c /include/drm/tinydrm | |
parent | f5155876af19f885fec94bbb926b0ce62115e139 (diff) | |
download | linux-414147e8a3870ff0f7fbd8dc3a33029d6aab1b02.tar.xz |
drm/tinydrm: Convert tinydrm_enable/disable_backlight to backlight_enable/disable
Remove tinydrm_enable/disable_backlight and let the callers call the
more generic backlight_enable/disable helpers
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/ec700724e47814e6426966e093bd32b2364ba147.1516810725.git.meghana.madhyastha@gmail.com
Diffstat (limited to 'include/drm/tinydrm')
-rw-r--r-- | include/drm/tinydrm/tinydrm-helpers.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/tinydrm/tinydrm-helpers.h b/include/drm/tinydrm/tinydrm-helpers.h index d554ded60ee9..f54fae03e34e 100644 --- a/include/drm/tinydrm/tinydrm-helpers.h +++ b/include/drm/tinydrm/tinydrm-helpers.h @@ -47,8 +47,6 @@ void tinydrm_xrgb8888_to_gray8(u8 *dst, void *vaddr, struct drm_framebuffer *fb, struct drm_clip_rect *clip); struct backlight_device *tinydrm_of_find_backlight(struct device *dev); -int tinydrm_enable_backlight(struct backlight_device *backlight); -int tinydrm_disable_backlight(struct backlight_device *backlight); size_t tinydrm_spi_max_transfer_size(struct spi_device *spi, size_t max_len); bool tinydrm_spi_bpw_supported(struct spi_device *spi, u8 bpw); |