OpenCloudOS-Kernel/drivers/staging/fbtft
Uwe Kleine-König cb08d3d2a3 staging: fbtft: Make fbtft_remove_common() return void
fbtft_remove_common() is only called with a non-NULL fb_info. (All
callers are in remove callbacks and the matching probe callbacks set
driver data accordingly.) So fbtft_remove_common() always returns zero.
Make it return void instead which makes it easier to see in the callers
that there is no error to handle.

Also the return value of platform and spi remove callbacks is ignored
anyway and not freeing resources in .remove() is a bad idea.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211012153945.2651412-20-u.kleine-koenig@pengutronix.de
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-13 14:30:38 +02:00
..
Kconfig staging: fbtft: Fix Kconfig indentation 2019-11-20 15:20:28 +01:00
Makefile drivers/staging/fbtft/fb_seps525: New driver for SEPS525 (Syncoam) LCD Controllers 2019-10-26 20:47:52 +02:00
README
TODO staging: fbtft: Update TODO 2021-05-10 11:19:39 +02:00
fb_agm1264k-fl.c staging: fbtft: Replace custom ->reset() with generic one 2021-05-10 11:19:39 +02:00
fb_bd663474.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_hx8340bn.c staging: fbtft: make several arrays static const, makes object smaller 2019-09-12 10:35:52 +01:00
fb_hx8347d.c staging: fbtft: Add support for orientation on Himax HX8347d 2021-05-10 11:19:39 +02:00
fb_hx8353d.c
fb_hx8357d.c
fb_hx8357d.h
fb_ili9163.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ili9320.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ili9325.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ili9340.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ili9341.c
fb_ili9481.c
fb_ili9486.c
fb_pcd8544.c Staging: fbtft: Fix some typo. pdc8544 --> pcd8544 2019-07-30 09:52:04 +02:00
fb_ra8875.c staging: fbtft: fixed format-string errors. 2019-03-18 07:06:08 +01:00
fb_s6d02a1.c
fb_s6d1121.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_seps525.c drivers/staging/fbtft/fb_seps525: New driver for SEPS525 (Syncoam) LCD Controllers 2019-10-26 20:47:52 +02:00
fb_sh1106.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ssd1289.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ssd1305.c
fb_ssd1306.c staging: fbtft: ternary statement to if statement. 2019-03-19 14:35:42 +01:00
fb_ssd1325.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ssd1331.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_ssd1351.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_st7735r.c
fb_st7789v.c staging: fbtft: add tearing signal detect 2021-02-12 09:48:29 +01:00
fb_tinylcd.c Staging: fbtft: Alignment should match open parenthesis 2019-02-26 11:40:07 +01:00
fb_tls8204.c
fb_uc1611.c staging: fbtft: Do not hardcode SPI CS polarity inversion 2019-12-10 10:56:53 +01:00
fb_uc1701.c
fb_upd161704.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fb_watterott.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fbtft-bus.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fbtft-core.c staging: fbtft: Make fbtft_remove_common() return void 2021-10-13 14:30:38 +02:00
fbtft-io.c staging: fbtft: Rectify GPIO handling 2021-05-10 11:19:39 +02:00
fbtft-sysfs.c staging: fbtft: convert sysfs snprintf to sysfs_emit 2021-04-05 12:15:15 +02:00
fbtft.h staging: fbtft: Make fbtft_remove_common() return void 2021-10-13 14:30:38 +02:00
internal.h

README

  FBTFT
=========

Linux Framebuffer drivers for small TFT LCD display modules.
The module 'fbtft' makes writing drivers for some of these displays very easy.

Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution.

INSTALLATION
  Download kernel sources

  From Linux 3.15
    cd drivers/video/fbdev/fbtft
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/fbdev/Kconfig:   source "drivers/video/fbdev/fbtft/Kconfig"
    Add to drivers/video/fbdev/Makefile:  obj-y += fbtft/

  Before Linux 3.15
    cd drivers/video
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/Kconfig:   source "drivers/video/fbtft/Kconfig"
    Add to drivers/video/Makefile:  obj-y += fbtft/

  Enable driver(s) in menuconfig and build the kernel


See wiki for more information: https://github.com/notro/fbtft/wiki


Source: https://github.com/notro/fbtft/