]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/vio.c
[POWERPC] Clean up vio.h
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / vio.c
index 1d7b272b373789355326731b311604482a81ad8e..fd631d4d1602a2cddd3ba215c91aaa76fa3277a6 100644 (file)
@@ -168,16 +168,6 @@ static int vio_bus_remove(struct device *dev)
        return 1;
 }
 
-/* convert from struct device to struct vio_dev and pass to driver. */
-static void vio_bus_shutdown(struct device *dev)
-{
-       struct vio_dev *viodev = to_vio_dev(dev);
-       struct vio_driver *viodrv = to_vio_driver(dev->driver);
-
-       if (dev->driver && viodrv->shutdown)
-               viodrv->shutdown(viodev);
-}
-
 /**
  * vio_register_driver: - Register a new vio driver
  * @drv:       The vio_driver structure to be registered.
@@ -397,7 +387,6 @@ static struct bus_type vio_bus_type = {
        .match = vio_bus_match,
        .probe = vio_bus_probe,
        .remove = vio_bus_remove,
-       .shutdown = vio_bus_shutdown,
 };
 
 /**