diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-01-18 21:13:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 18:35:37 +0300 |
commit | 39ddef5681839dc9949fd280ea65869a21fca23f (patch) | |
tree | c2ff9cbcbe9ec63fc895b571e5a94bee532102b2 /drivers/staging/pi433 | |
parent | ca532a56ada46c206ea4a7f87ce34b38c274e57a (diff) | |
download | linux-39ddef5681839dc9949fd280ea65869a21fca23f.tar.xz |
staging: fbtft: Deduplicate driver registration macros
The two macros FBTFT_REGISTER_DRIVER and FBTFT_REGISTER_SPI_DRIVER
contain quite some duplication: Both define an spi driver and an of device
table and the differences are quite subtle.
So create two new macros and use both twice.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220118181338.207943-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433')
0 files changed, 0 insertions, 0 deletions