2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/staging/fbtft
Helen Fornazier 4ebe6f46cb staging: fbtft: Remove do {} while(0) in single statement macro
This patch fixes the checkpatch.pl warning:

WARNING: Single statement macros should not use a do {} while (0) loop
+#define write_reg(par, ...)                                              \
+do {                                                                     \
+       par->fbtftops.write_register(par, NUMARGS(__VA_ARGS__), __VA_ARGS__); \
+} while (0)

Signed-off-by: Helen Fornazier <helen.fornazier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-26 10:40:31 +01:00
..
fb_agm1264k-fl.c staging: fbtft: Fix potential null dereference 2015-03-20 13:54:50 +01:00
fb_bd663474.c staging: fbtft: fix spacing errors 2015-02-24 15:31:15 -08:00
fb_hx8340bn.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_hx8347d.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_hx8353d.c staging: fbtft: fb_hx8353d.c: remove extra parentheses around function arguments 2015-03-15 18:41:12 +01:00
fb_ili9320.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ili9325.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ili9340.c staging: fbtft: fix space prohibited before that ',' 2015-02-24 15:31:15 -08:00
fb_ili9341.c staging: fbtft: add fb_ili9341 driver 2015-01-17 16:46:46 -08:00
fb_ili9481.c staging: fbtft: add fb_ili9481 driver 2015-01-17 16:46:47 -08:00
fb_ili9486.c staging: fbtft: fix code indent should use tabs where possible 2015-02-26 13:06:13 -08:00
fb_pcd8544.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_ra8875.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_s6d02a1.c staging: fbtft: fb_s6d02a1.c: remove extra parentheses around function arguments 2015-03-15 18:41:13 +01:00
fb_s6d1121.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ssd1289.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ssd1306.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_ssd1331.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_ssd1351.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_st7735r.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_tinylcd.c staging: fbtft: add fb_tinylcd driver 2015-01-17 16:46:48 -08:00
fb_tls8204.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_uc1701.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_upd161704.c Staging: fbtft: fix space errors 2015-03-01 17:14:40 -08:00
fb_watterott.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fbtft_device.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fbtft-bus.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fbtft-core.c Staging: fbtft: add header for internal functions 2015-03-06 16:44:13 -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: Do not use binary constants 2015-03-24 23:06:56 +01:00
fbtft.h staging: fbtft: Remove do {} while(0) in single statement macro 2015-03-26 10:40:31 +01:00
flexfb.c staging: fbtft: Add space around '=' 2015-03-26 10:40:31 +01:00
internal.h Staging: fbtft: add header for internal functions 2015-03-06 16:44:13 -08:00
Kconfig staging: fbtft: add fbtft_device driver 2015-01-17 16:46:48 -08:00
Makefile staging: fbtft: add fbtft_device driver 2015-01-17 16:46:48 -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/