auxdisplay: Call charlcd_backlight in place
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:21 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:04 +0000 (11:04 +0100)
commita2060f288e15a69b2191b7e9df2e3d470e27e433
treee6bccf224ef44e6b0d6a19ab24bf5eccc5c6ad4c
parent339acb082987a6b0aa7c67a5a77b29f6c81962f6
auxdisplay: Call charlcd_backlight in place

This moves the call to charlcd_backlight from the end of the switch
into the actual case statement that originates the change of the
backlight. This is more consistent to what is now found in this switch.

Reviewed-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/charlcd.c