summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-14 21:15:04 +0100
committerJean Delvare <khali@arrakis.delvare>2007-02-14 21:15:04 +0100
commit41be722b61eeba51412fa16d0b3497ebab1ff52e (patch)
treedd7bf88b50f61c6a8a4521fe679fe67c658c6c38 /drivers
parented6bafbf6017d6a007b39de6b65ad3b8ae4c8aee (diff)
downloadlinux-41be722b61eeba51412fa16d0b3497ebab1ff52e.tar.gz
linux-41be722b61eeba51412fa16d0b3497ebab1ff52e.tar.bz2
linux-41be722b61eeba51412fa16d0b3497ebab1ff52e.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/lm70.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c
index 6ba84731b9cd..7eaae3834e15 100644
--- a/drivers/hwmon/lm70.c
+++ b/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);