staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER
authorRaphael Gallais-Pou <rgallaispou@gmail.com>
Tue, 18 Jul 2023 17:20:24 +0000 (19:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 07:53:37 +0000 (09:53 +0200)
commit4912649e1cf0317bf563f91655e04a303cacaf8d
treea80792c66cddd339af44215d0a3372c05f688f34
parentac83631230f77dda94154ed0ebfd368fc81c70a3
staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER

Using FBTFT_REGISTER_DRIVER resolves to a NULL struct spi_device_id. This
ultimately causes a warning when the module probes. Fixes it.

Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com>
Link: https://lore.kernel.org/r/20230718172024.67488-1-rgallaispou@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ili9341.c