commit | 426aca16e903b387a0b0001d62207a745c67cfd3 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Tue Jan 18 19:13:37 2022 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 25 16:36:49 2022 +0100 |
tree | 817dcbf8a42483d679410c396aa5f0ed0649afc3 | |
parent | 0cea730cac824edf78ffd3302938ed5fe2b9d50d [diff] |
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>