Commit 8ca14e12 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Brian Norris

mtd: pasemi_nand.c: remove superfluous name cast

device_driver.name is "const char *"
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 7c4bb4f8
...@@ -223,7 +223,7 @@ MODULE_DEVICE_TABLE(of, pasemi_nand_match); ...@@ -223,7 +223,7 @@ MODULE_DEVICE_TABLE(of, pasemi_nand_match);
static struct platform_driver pasemi_nand_driver = static struct platform_driver pasemi_nand_driver =
{ {
.driver = { .driver = {
.name = (char*)driver_name, .name = driver_name,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = pasemi_nand_match, .of_match_table = pasemi_nand_match,
}, },
......
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