From: Corentin Labbe Date: Tue, 25 Jan 2022 13:54:21 +0000 (+0000) Subject: macintosh: macio_asic: remove useless cast for driver.name X-Git-Tag: v5.18-rc1~124^2~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ccafe7c20b7de330d9091a114c9985305759f1ee;p=thirdparty%2Fkernel%2Flinux.git macintosh: macio_asic: remove useless cast for driver.name pci_driver name is const char pointer, so the cast it not necessary. Signed-off-by: Corentin Labbe Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20220125135421.4081740-1-clabbe@baylibre.com --- diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index c1fdf28960216..1943a007e2d55 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c @@ -756,7 +756,7 @@ MODULE_DEVICE_TABLE (pci, pci_ids); /* pci driver glue; this is a "new style" PCI driver module */ static struct pci_driver macio_pci_driver = { - .name = (char *) "macio", + .name = "macio", .id_table = pci_ids, .probe = macio_pci_probe,