summaryrefslogtreecommitdiff
path: root/drivers/staging/goldfish
diff options
context:
space:
mode:
authorLoic Pefferkorn <loic@loicp.eu>2014-09-03 22:23:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-06 21:51:09 -0700
commit1977533a3f425cb9b7633d59e30459e048ce681f (patch)
tree82a9b7c71d097d5ab48319fa9e81ee25415a78b7 /drivers/staging/goldfish
parent1f21b0c8aceb02ffbc06f4b803387e8ccc22725a (diff)
staging: goldfish: remove useless space after a cast
Coding style: remove useless space after a cast Signed-off-by: Loic Pefferkorn <loic@loicp.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/goldfish')
-rw-r--r--drivers/staging/goldfish/goldfish_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/goldfish/goldfish_nand.c b/drivers/staging/goldfish/goldfish_nand.c
index 092604c698b6..aac8e2016a9f 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;