Commit ccafe7c2 authored by Corentin Labbe's avatar Corentin Labbe Committed by Michael Ellerman

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: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220125135421.4081740-1-clabbe@baylibre.com
parent 2e7f1e2b
......@@ -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,
......
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