bus: Make remove callback return void
[sfrench/cifs-2.6.git] / arch / powerpc / platforms / pseries / ibmebus.c
index c6c79ef55e138dc229e86689855977920adc8ea1..7ee3ed7d6cc211018773207d029735106f7c190f 100644 (file)
@@ -366,14 +366,13 @@ static int ibmebus_bus_device_probe(struct device *dev)
        return error;
 }
 
-static int ibmebus_bus_device_remove(struct device *dev)
+static void ibmebus_bus_device_remove(struct device *dev)
 {
        struct platform_device *of_dev = to_platform_device(dev);
        struct platform_driver *drv = to_platform_driver(dev->driver);
 
        if (dev->driver && drv->remove)
                drv->remove(of_dev);
-       return 0;
 }
 
 static void ibmebus_bus_device_shutdown(struct device *dev)