Uwe Kleine-König 426aca16e9 staging: fbtft: Fix error path in fbtft_driver_module_init()
If registering the platform driver fails, the function must not return
without undoing the spi driver registration first.

Fixes: c296d5f9957c ("staging: fbtft: core support")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220118181338.207943-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-25 16:36:49 +01:00
..
2022-01-12 10:43:08 -08:00
2021-11-04 07:56:22 -07:00
2021-11-04 07:56:22 -07:00
2021-11-29 08:03:05 +01:00
2021-11-29 08:03:05 +01:00