diff options
author | Uwe Kleine-König | 2022-01-23 18:51:58 +0100 |
---|---|---|
committer | Mark Brown | 2022-02-09 13:00:41 +0000 |
commit | c222ea5d2f3361458672d1f52c78970aa021cb61 (patch) | |
tree | dfc17ba18d3c2c9dd8f8c87f54d54c9a2655fd91 /drivers/net/wireless/ti/wl1251/cmd.h | |
parent | 7d8e4c98d13b6b54655140d6b6a6a17fbc9b32f1 (diff) |
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.
Link: https://lore.kernel.org/r/20220118181338.207943-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220123175201.34839-3-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/cmd.h')
0 files changed, 0 insertions, 0 deletions