staging/fbtft: Fix backlight
authorNoralf Trønnes <noralf@tronnes.org>
Fri, 5 Nov 2021 20:43:58 +0000 (21:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Nov 2021 09:21:48 +0000 (10:21 +0100)
commit7865dd24934ad580d1bcde8f63c39f324211a23b
treed0bde4f68891631cc8fad0372a05ef829ccc6805
parentd5f0b804368951b6b4a77d2f14b5bb6a04b0e011
staging/fbtft: Fix backlight

Commit b4a1ed0cd18b ("fbdev: make FB_BACKLIGHT a tristate") forgot to
update fbtft breaking its backlight support when FB_BACKLIGHT is a module.

Since FB_TFT selects FB_BACKLIGHT there's no need for this conditional
so just remove it and we're good.

Fixes: b4a1ed0cd18b ("fbdev: make FB_BACKLIGHT a tristate")
Cc: <stable@vger.kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20211105204358.2991-1-noralf@tronnes.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fbtft-core.c