diff options
author | Stephen Kitt <steve@sk2.org> | 2022-06-07 22:23:34 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-01-09 11:57:51 +0300 |
commit | 450afd92d9cb177e0337c9ac26677765aeeff81a (patch) | |
tree | 776476244bb6b6b9816acbf4b146f073a486336e /drivers/video/fbdev/riva | |
parent | 1cc17590ddfec590d7301f5e4cf6183ea19afa25 (diff) | |
download | linux-450afd92d9cb177e0337c9ac26677765aeeff81a.tar.xz |
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>
Diffstat (limited to 'drivers/video/fbdev/riva')
0 files changed, 0 insertions, 0 deletions