diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-22 11:36:30 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-11-11 14:34:01 +0300 |
commit | 9afa302473f3ed925acd2499b624fdc0c527e0d0 (patch) | |
tree | cd795a5bdac02b78ca762444abad5cff20b49160 /drivers/video/backlight/qcom-wled.c | |
parent | d17465a0af3f669f56289649be0fe6ab0fb63e39 (diff) | |
download | linux-9afa302473f3ed925acd2499b624fdc0c527e0d0.tar.xz |
backlight: gpio: Pull gpio_backlight_initial_power_state() into probe
The probe function in the gpio-backlight driver is quite short. If we
pull gpio_backlight_initial_power_state() into probe we can drop two
more fields from struct gpio_backlight and shrink the driver code.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/qcom-wled.c')
0 files changed, 0 insertions, 0 deletions