[PATCH v2 00/15] staging: fbtft: Fixes some issues found with checkpatch.pl

From: Leonardo BrÃs
Date: Tue Aug 07 2018 - 20:28:15 EST


Fixes some issues found with checkpatch.pl, and other issues found browsing the code.

Leonardo BrÃs (15):
staging: fbtft: Changes udelay(n) to usleep_range(n, n + x). - Style
staging: fbtft: Puts macro arguments in parenthesis to avoid
precedence issues - Style
staging: fbtft: Fixes some alignment issues - Style
staging: fbtft: Fixes some lines long lines (>80) - Style
staging: fbtft: A bit more information on dev_err.
staging: fbtft: Changes gamma table to define.
staging: fbtft: Removes one nesting level to help readability - Style
staging: fbtft: Adjust some empty-line problems - Style
staging: fbtft: Erases some repetitive usage of function name - Style
staging: fbtft: Fixes some defines styles - Style
staging: fbtft: Includes description to mutex and spinlock - Style
staging: fbtft: Add spaces around / - Style
staging: fbtft: Corrects long index line - Style
staging: fbtft: Replaces (1 << n) for macro BIT(n) - Style
staging: fbtft: Replaces custom debug macro with dev_dbg().

drivers/staging/fbtft/fb_agm1264k-fl.c | 2 +-
drivers/staging/fbtft/fb_hx8347d.c | 2 +-
drivers/staging/fbtft/fb_ili9163.c | 2 +-
drivers/staging/fbtft/fb_ili9320.c | 2 +-
drivers/staging/fbtft/fb_ili9325.c | 2 +-
drivers/staging/fbtft/fb_ili9341.c | 2 +-
drivers/staging/fbtft/fb_ra8875.c | 4 +-
drivers/staging/fbtft/fb_s6d02a1.c | 1 -
drivers/staging/fbtft/fb_s6d1121.c | 3 +-
drivers/staging/fbtft/fb_sh1106.c | 2 +-
drivers/staging/fbtft/fb_ssd1289.c | 9 +-
drivers/staging/fbtft/fb_ssd1306.c | 5 +-
drivers/staging/fbtft/fb_ssd1325.c | 2 +-
drivers/staging/fbtft/fb_ssd1331.c | 5 +-
drivers/staging/fbtft/fb_ssd1351.c | 39 +++++---
drivers/staging/fbtft/fb_st7735r.c | 21 +++--
drivers/staging/fbtft/fb_st7789v.c | 13 ++-
drivers/staging/fbtft/fb_tinylcd.c | 2 +-
drivers/staging/fbtft/fb_uc1611.c | 2 +-
drivers/staging/fbtft/fb_upd161704.c | 19 ++--
drivers/staging/fbtft/fb_watterott.c | 30 +++---
drivers/staging/fbtft/fbtft-bus.c | 27 +++---
drivers/staging/fbtft/fbtft-core.c | 53 ++++++-----
drivers/staging/fbtft/fbtft-io.c | 17 ++--
drivers/staging/fbtft/fbtft-sysfs.c | 9 +-
drivers/staging/fbtft/fbtft.h | 122 ++++++++++++++-----------
drivers/staging/fbtft/fbtft_device.c | 40 ++++----
drivers/staging/fbtft/flexfb.c | 45 +++++----
28 files changed, 271 insertions(+), 211 deletions(-)

--
2.18.0