Commit 1977533a authored by Loic Pefferkorn's avatar Loic Pefferkorn Committed by Greg Kroah-Hartman

staging: goldfish: remove useless space after a cast

Coding style: remove useless space after a cast
Signed-off-by: default avatarLoic Pefferkorn <loic@loicp.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f21b0c8
...@@ -340,7 +340,7 @@ static int goldfish_nand_init_device(struct platform_device *pdev, ...@@ -340,7 +340,7 @@ static int goldfish_nand_init_device(struct platform_device *pdev,
result, name_len); result, name_len);
return -ENODEV; return -ENODEV;
} }
((char *) mtd->name)[name_len] = '\0'; ((char *)mtd->name)[name_len] = '\0';
/* Setup the MTD structure */ /* Setup the MTD structure */
mtd->type = MTD_NANDFLASH; mtd->type = MTD_NANDFLASH;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment