Coding style: remove useless space after a cast

Signed-off-by: Loic Pefferkorn <l...@loicp.eu>
---
 drivers/staging/goldfish/goldfish_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/goldfish/goldfish_nand.c 
b/drivers/staging/goldfish/goldfish_nand.c
index 092604c..aac8e20 100644
--- a/drivers/staging/goldfish/goldfish_nand.c
+++ b/drivers/staging/goldfish/goldfish_nand.c
@@ -340,7 +340,7 @@ static int goldfish_nand_init_device(struct platform_device 
*pdev,
                               result, name_len);
                return -ENODEV;
        }
-       ((char *) mtd->name)[name_len] = '\0';
+       ((char *)mtd->name)[name_len] = '\0';
 
        /* Setup the MTD structure */
        mtd->type = MTD_NANDFLASH;
-- 
2.0.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to