X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=drivers%2Fspi%2Fspi.c;h=57e2499ec1ed9ad2bf08fd870e6aea09108fdcf7;hp=65d14af9c01529d1bc3d2f7dc00fb69c2165621d;hb=c6c3c5704ba70820f6b632982abde06661b7222a;hpb=4520dcbe0df41385288f24e61f322ee97063fa03 diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 65d14af9c015..57e2499ec1ed 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -409,7 +409,7 @@ static int spi_probe(struct device *dev) return ret; } -static int spi_remove(struct device *dev) +static void spi_remove(struct device *dev) { const struct spi_driver *sdrv = to_spi_driver(dev->driver); @@ -424,8 +424,6 @@ static int spi_remove(struct device *dev) } dev_pm_domain_detach(dev, true); - - return 0; } static void spi_shutdown(struct device *dev)