hwmon/lm70: Make lm70_remove a __devexit function
authorRalf Baechle <ralf@linux-mips.org>
Wed, 14 Feb 2007 20:15:04 +0000 (21:15 +0100)
committerJean Delvare <khali@arrakis.delvare>
Wed, 14 Feb 2007 20:15:04 +0000 (21:15 +0100)
This fixes a potential broken reference.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm70.c

index 6ba8473..7eaae38 100644 (file)
@@ -126,7 +126,7 @@ out_dev_reg_failed:
        return status;
 }
 
-static int __exit lm70_remove(struct spi_device *spi)
+static int __devexit lm70_remove(struct spi_device *spi)
 {
        struct lm70 *p_lm70 = dev_get_drvdata(&spi->dev);