]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: novatek,nt39016: Handle backlight the standard way
authorPaul Cercueil <paul@crapouillou.net>
Tue, 11 Aug 2020 00:22:36 +0000 (02:22 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 15 Aug 2020 14:08:03 +0000 (16:08 +0200)
commit231a3fec65442bc27d0e14d57da3b6495fd19b05
tree0ce3839b71bbec4f2764ed1892b2a2b16ba67bf8
parent9fd9e522f7b2b5db18b8d8a6afb2e10db6fe1e75
drm/panel: novatek,nt39016: Handle backlight the standard way

Instead of manipulating the backlight directly in this driver, register
it in the probe using drm_panel_of_backlight() and let the drm_panel
framework code handle it.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200811002240.55194-2-paul@crapouillou.net
drivers/gpu/drm/panel/panel-novatek-nt39016.c