]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fbtft: sh1106: use new macro FBTFT_REGISTER_SPI_DRIVER
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 1 Dec 2021 21:04:07 +0000 (22:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:05:12 +0000 (15:05 +0100)
commit4bfc9425c302ab549e58b8d7b4c5308c52f1b49e
tree43ea555c6924f5de06b0164fe5cca1fc5852671e
parent4ebda0476c218af1ce8b8d03ba4cbfbee41768b3
staging: fbtft: sh1106: use new macro FBTFT_REGISTER_SPI_DRIVER

Make fb_sh1106 the first user of new macro FBTFT_REGISTER_SPI_DRIVER.
In addition the MODULE_ALIASes can be removed. Module auto-loading
was successfully tested with a SH1106-based OLED module connected
to an Odroid C2.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/65516be1-9588-af00-cf4f-053e20af9b45@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_sh1106.c