X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Ffirewire%2Fcore-device.c;h=90ed8fdaba754b5adb494f1cf294239618d5c788;hb=7c636d4d20f8c5acfbfbc60f326fddb0e1cf5daa;hp=68216988391f754314c4a1608ae481512eda7d22;hpb=9ecccaf9771d3f3bb68ef69d34965b1aad874bd6;p=linux-2.6-microblaze.git diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c index 68216988391f..90ed8fdaba75 100644 --- a/drivers/firewire/core-device.c +++ b/drivers/firewire/core-device.c @@ -187,14 +187,12 @@ static int fw_unit_probe(struct device *dev) return driver->probe(fw_unit(dev), unit_match(dev, dev->driver)); } -static int fw_unit_remove(struct device *dev) +static void fw_unit_remove(struct device *dev) { struct fw_driver *driver = container_of(dev->driver, struct fw_driver, driver); driver->remove(fw_unit(dev)); - - return 0; } static int get_modalias(struct fw_unit *unit, char *buffer, size_t buffer_size)