Explorar o código

hwmon/lm70: Make lm70_remove a __devexit function

This fixes a potential broken reference.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Ralf Baechle %!s(int64=18) %!d(string=hai) anos
pai
achega
41be722b61
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/hwmon/lm70.c

+ 1 - 1
drivers/hwmon/lm70.c

@@ -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);