]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: fbtft: Fix indentation style by space
authorHelen Fornazier <helen.fornazier@gmail.com>
Sat, 21 Mar 2015 02:18:10 +0000 (23:18 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 21:35:24 +0000 (22:35 +0100)
This patch fixes the checkpatch.pl warning and error:

WARNING: please, no spaces at the start of a line

ERROR: code indent should use tabs where possible

Signed-off-by: Helen Fornazier <helen.fornazier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft.h

index 0dbf3f95fe786ce50a9206cd754c4e78b58c45ee..36ecf026d67d0ae367fad4f5f551a18a4b8c2e47 100644 (file)
@@ -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,                                \