Staging: fbtft: fix style errors
Subsystems (2)
PATCH 1/1 Staging: fbtft: fix style errors
From: Matteo Semenzato <[email protected]>
This patch fixes the following errors:
Code indent should use tabs where possible
Space prohibited before that ','
Signed-off-by Matteo Semenzato <[email protected]>
--- drivers/staging/fbtft/fbtft-core.c | 2 +- drivers/staging/fbtft/fbtft.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
drivers/staging/fbtft/fbtft-core.c +1 -1
@@ -49,7 +49,7 @@ extern int fbtft_gamma_parse_str(struct fbtft_par *par, unsigned long *curves, const char *str, int size);static unsigned long debug; -module_param (debug, ulong ,0 ); +module_param (debug, ulong,0 );MODULE_PARM_DESC (debug,"override device debug level" );static bool dma = true;
drivers/staging/fbtft/fbtft.h +4 -4
@@ -326,8 +326,8 @@ static int fbtft_driver_remove_pdev(struct platform_device *pdev) \ } \ \static const struct of_device_id dt_ids[] = { \ - { .compatible = _compatible }, \ - {}, \ + { .compatible = _compatible }, \ + {}, \ }; \ \MODULE_DEVICE_TABLE (of, dt_ids); \
@@ -337,7 +337,7 @@ static struct spi_driver fbtft_driver_spi_driver = { \ .driver = { \ .name = _name, \ .owner = THIS_MODULE, \ - .of_match_table = of_match_ptr(dt_ids), \ + .of_match_table = of_match_ptr(dt_ids), \ }, \ .probe = fbtft_driver_probe_spi, \ .remove = fbtft_driver_remove_spi, \
@@ -347,7 +347,7 @@ static struct platform_driver fbtft_driver_platform_driver = { \ .driver = { \ .name = _name, \ .owner = THIS_MODULE, \ - .of_match_table = of_match_ptr(dt_ids), \ + .of_match_table = of_match_ptr(dt_ids), \ }, \ .probe = fbtft_driver_probe_pdev, \ .remove = fbtft_driver_remove_pdev, \
Signature · 1 line
2.3.0