On Sun, Aug 2, 2020 at 1:07 PM Sam Ravnborg sam@ravnborg.org wrote:
- Use get method to read brightness
- Use drm_panel support for backlight
- This drops enable/disable operations as they are no longer needed. The enable/disable operations had some backlight related comments that are no longer valid. The only correct way to enable/disable backlight is using the backlight enable/disable helpers.
- Use macro for backlight initialization
Signed-off-by: Sam Ravnborg sam@ravnborg.org Linus Walleij linus.walleij@linaro.org Cc: Linus Walleij linus.walleij@linaro.org Cc: Thierry Reding thierry.reding@gmail.com Cc: Sam Ravnborg sam@ravnborg.org
Acked-by: Linus Walleij linus.walleij@linaro.org
Yours, Linus Walleij