mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
mtd: pasemi_nand.c: remove superfluous name cast
device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Olof Johansson <olof@lixom.net> Cc: linux-mtd@lists.infradead.org Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
7c4bb4f8f8
commit
8ca14e12a7
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user