commit | a18dc7401ab5c86de38f64ee6301a6bd3757f017 | [log] [tgz] |
---|---|---|
author | Sam Ravnborg <sam@ravnborg.org> | Thu May 14 21:09:45 2020 +0200 |
committer | Sam Ravnborg <sam@ravnborg.org> | Sun May 17 14:55:29 2020 +0200 |
tree | ce9ac1703c7da56a6cf49728bb4d1122888719eb | |
parent | 1efa9eff7b94ed834162a17091db2fedc656763b [diff] |
drm/tilcdc: use devm_of_find_backlight Look up backlight device using devm_of_find_backlight(). This simplifies the code and prevents us from hardcoding the node name in the driver. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Jyri Sarha <jsarha@ti.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200514191001.457441-3-sam@ravnborg.org