powerpc/macio: Fix probing of macio devices by using the right of match table
[sfrench/cifs-2.6.git] / drivers / macintosh / macio_asic.c
index 40390ac01309b237af6c6bfc63d2b04a37546747..b6e7ddc09d76573eb0b423747bb613ce16599a7d 100644 (file)
@@ -526,7 +526,6 @@ static void macio_pci_add_devices(struct macio_chip *chip)
 int macio_register_driver(struct macio_driver *drv)
 {
        /* initialize common driver fields */
-       drv->driver.name = drv->name;
        drv->driver.bus = &macio_bus_type;
 
        /* register with core */