diff options
author | Bartosz Golaszewski <[email protected]> | 2019-10-22 10:36:30 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2019-11-11 11:34:01 +0000 |
commit | 9afa302473f3ed925acd2499b624fdc0c527e0d0 (patch) | |
tree | cd795a5bdac02b78ca762444abad5cff20b49160 /lib/mpi/mpiutil.c | |
parent | d17465a0af3f669f56289649be0fe6ab0fb63e39 (diff) |
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 <[email protected]>
Acked-by: Daniel Thompson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions