From: Geert Uytterhoeven Date: Tue, 12 Nov 2013 19:07:16 +0000 (+0100) Subject: mtd: pasemi_nand.c: remove superfluous name cast X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8ca14e12a75216060e5dfbfe28a5efc5c230e08c;p=openwrt%2Fstaging%2Fblogic.git mtd: pasemi_nand.c: remove superfluous name cast device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven Acked-by: Olof Johansson Cc: linux-mtd@lists.infradead.org Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c index 4d174366a0f0..90f871acb0ef 100644 --- a/drivers/mtd/nand/pasemi_nand.c +++ b/drivers/mtd/nand/pasemi_nand.c @@ -223,7 +223,7 @@ MODULE_DEVICE_TABLE(of, pasemi_nand_match); static struct platform_driver pasemi_nand_driver = { .driver = { - .name = (char*)driver_name, + .name = driver_name, .owner = THIS_MODULE, .of_match_table = pasemi_nand_match, },