]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Wed, 13 Sep 2023 07:47:52 +0000 (09:47 +0200)
commit3c57e6ef55b83f64dd2af298a4a91a566e40994a
tree4d1041625cc966a4a6a4db123277666c8d419a0f
parent23db7577c53f7c72d5d2bcffa4e756d9f2e5423d
staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER

[ Upstream commit 4912649e1cf0317bf563f91655e04a303cacaf8d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/fbtft/fb_ili9341.c