linux/drivers/video/fbdev/nvidia
Stephen Kitt 1cc17590dd fbdev: nvidia: 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: Antonino Daplas <adaplas@gmail.com>
Cc: Helge Deller <deller@gmx.de>
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>
2023-01-09 09:57:51 +01:00
..
Makefile
nv_accel.c
nv_backlight.c fbdev: nvidia: Use backlight helper 2023-01-09 09:57:51 +01:00
nv_dma.h
nv_hw.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nv_i2c.c video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow 2022-01-29 22:24:25 +01:00
nv_local.h
nv_of.c fbdev: nvidia: use for_each_child_of_node() macro 2020-10-16 23:43:41 +02:00
nv_proto.h
nv_setup.c video: fbdev: nvidia: Fix set but not used warnings 2020-11-30 20:21:54 +01:00
nv_type.h
nvidia.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00