summaryrefslogtreecommitdiff
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-01-25 16:54:21 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-02-02 12:32:11 +0300
commitccafe7c20b7de330d9091a114c9985305759f1ee (patch)
tree2a1a34470848a28b989456a7b7131352564cc9e2 /drivers/macintosh
parent2e7f1e2b30b5b8aa5de6547407c68670fd227ad8 (diff)
downloadlinux-ccafe7c20b7de330d9091a114c9985305759f1ee.tar.xz
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 <clabbe@baylibre.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220125135421.4081740-1-clabbe@baylibre.com
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/macio_asic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c
index c1fdf2896021..1943a007e2d5 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,