diff options
author | Uwe Kleine-König <[email protected]> | 2022-01-23 18:51:58 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-02-09 13:00:41 +0000 |
commit | c222ea5d2f3361458672d1f52c78970aa021cb61 (patch) | |
tree | dfc17ba18d3c2c9dd8f8c87f54d54c9a2655fd91 /scripts/clang-tools/gen_compile_commands.py | |
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/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions