Update the backlight handling in three samsung panels. - Use devm_ functions to automate cleanup - Utilize backlight support in drm_panel - Introduce a register backlight helper in all panels Using the same pattern in all panels makes it simpler to read the code. With this change the backlight handling in these panels is now much more like what we see in other panels. Testing or any other feedback appreciated! Sam Sam Ravnborg (3): drm/panel: update backlight handling for samsung-s6e3ha2 drm/panel: update backlight handling for samsung-s6e63j0x03 drm/panel: update backlight handling for samsung-s6e63m0 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 55 +++++++++++++----------- drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 55 +++++++++++++----------- drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 20 ++++----- 3 files changed, 68 insertions(+), 62 deletions(-) _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel