2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/staging/fbtft
Janani Ravichandran 5084d7c662 staging: fbtft: fb_uc1611.c: Drop void pointer cast
Void pointers need not be cast to other pointer types.
Semantic patch used:

@r@
expression x;
void* e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x) [...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
fb_agm1264k-fl.c staging: fbtft: Use kmalloc_array 2016-03-11 22:09:09 -08:00
fb_bd663474.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_hx8340bn.c staging: fbtft: Add blank line after function declaration 2016-02-11 19:54:36 -08:00
fb_hx8347d.c staging: fbtft: Add blank line after function declaration 2016-02-11 19:54:36 -08:00
fb_hx8353d.c staging: fbtft: Remove blank line after '{' brace 2016-02-11 19:54:36 -08:00
fb_hx8357d.c staging: fbtft: Indent to match open parenthesis 2016-02-11 19:54:36 -08:00
fb_hx8357d.h staging: fbtft: Fix block comments according to kernel coding style 2016-02-11 19:54:36 -08:00
fb_ili9163.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9320.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9325.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9340.c staging: fbtft: Fix alignment to match open parenthesis 2016-02-14 16:22:49 -08:00
fb_ili9341.c staging: fbtft: Insert blank line after function declaration 2016-02-14 16:22:49 -08:00
fb_ili9481.c staging: fbtft: Remove the use of CamelCase 2016-02-14 16:22:49 -08:00
fb_ili9486.c staging: fbtft: Use standard MIPI DCS command defines for ili9486 2016-02-07 19:39:27 -08:00
fb_pcd8544.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_ra8875.c staging: fbtft: fb_ra8875.c: Remove unneeded void pointer cast 2016-03-11 22:09:09 -08:00
fb_s6d02a1.c staging: fbtft: Use standard MIPI DCS command defines for s6d02a1 2016-02-07 19:39:27 -08:00
fb_s6d1121.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_ssd1289.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_ssd1305.c Staging: fbtft: add ssd1305 controller support 2016-02-07 19:43:05 -08:00
fb_ssd1306.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_ssd1325.c Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
fb_ssd1331.c Staging: fbtft: fb_ssd1331: Remove unnecessary cast 2015-10-16 22:56:23 -07:00
fb_ssd1351.c staging: fbtft: Fix multi-line comment style 2015-10-16 22:56:23 -07:00
fb_st7735r.c staging: fbtft: Use standard MIPI DCS command defines for st7735r 2016-02-07 19:39:27 -08:00
fb_st7789v.c staging: fbtft: use init function instead of init sequence 2015-10-24 19:42:37 -07:00
fb_tinylcd.c staging: fbtft: Use standard MIPI DCS command defines for tinylcd 2016-02-07 19:39:27 -08:00
fb_tls8204.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fb_uc1611.c staging: fbtft: fb_uc1611.c: Drop void pointer cast 2016-03-11 22:09:09 -08:00
fb_uc1701.c Staging: fbtft: Removed commented out/dead code 2016-02-07 19:37:36 -08:00
fb_upd161704.c Staging: fbtft: Remove debug messages 2015-09-21 09:56:50 -07:00
fb_watterott.c staging: fbtft: use alternate screen pointer 2015-10-13 10:51:30 -07:00
fbtft_device.c staging: fbtft: use to_platform_device() 2016-02-07 19:42:23 -08:00
fbtft-bus.c staging: fbtft: fbtft-bus.c: Drop unneeded void pointer cast 2016-03-11 22:09:09 -08:00
fbtft-core.c staging: fbtft: Use devm_kcalloc instead of devm_kzalloc 2016-03-11 22:09:09 -08:00
fbtft-io.c staging: fbtft: fbtft-io.c: remove extra parentheses around function arguments 2015-03-15 18:41:13 +01:00
fbtft-sysfs.c staging/fbtft : Add missing whitespace around operators 2015-09-12 18:24:37 -07:00
fbtft.h staging: fbtft: Remove unused and duplicated defines 2016-02-07 19:41:20 -08:00
flexfb.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
internal.h Staging: fbtft: fix header guard typo 2015-04-30 16:51:21 +02:00
Kconfig Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
Makefile Staging: fbtft: add ssd1325 controller support 2016-02-07 19:43:05 -08:00
README Staging: fbtft: remove trailing whitespace 2015-02-26 13:11:27 -08:00

  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/