[PATCH v2 2/6] staging: goldfish: remove useless space after a cast

From: Loic Pefferkorn
Date: Wed Sep 03 2014 - 16:24:16 EST


Coding style: remove useless space after a cast

Signed-off-by: Loic Pefferkorn <loic@xxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/