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)
commitd9367afb1bd92c45c8281371cb99e19f3c4fdb55
tree43ea555c6924f5de06b0164fe5cca1fc5852671e
parent15e66fc72925a4c1d641ec4b5ea857f4fe0f939f
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