From: Ralf Baechle Date: Wed, 14 Feb 2007 20:15:04 +0000 (+0100) Subject: hwmon/lm70: Make lm70_remove a __devexit function X-Git-Tag: v2.6.21-rc1~65^2~6 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=41be722b61eeba51412fa16d0b3497ebab1ff52e;p=~andy%2Flinux hwmon/lm70: Make lm70_remove a __devexit function This fixes a potential broken reference. Signed-off-by: Ralf Baechle Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c index 6ba84731b9c..7eaae3834e1 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);