Home
last modified time | relevance | path

Searched hist:"450 afd92" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dsi-cm.c450afd92 Tue Jun 07 14:23:34 CDT 2022 Stephen Kitt <steve@sk2.org> fbdev: omapfb: panel-dsi-cm: Use backlight helper

Instead of retrieving the backlight brightness in struct
backlight_properties manually, and then checking whether the backlight
should be on at all, use backlight_get_brightness() which does all
this and insulates this from future changes.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-omap@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>