diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-14 21:15:04 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-14 21:15:04 +0100 |
commit | 41be722b61eeba51412fa16d0b3497ebab1ff52e (patch) | |
tree | dd7bf88b50f61c6a8a4521fe679fe67c658c6c38 /drivers | |
parent | ed6bafbf6017d6a007b39de6b65ad3b8ae4c8aee (diff) | |
download | kernel_samsung_crespo-41be722b61eeba51412fa16d0b3497ebab1ff52e.zip kernel_samsung_crespo-41be722b61eeba51412fa16d0b3497ebab1ff52e.tar.gz kernel_samsung_crespo-41be722b61eeba51412fa16d0b3497ebab1ff52e.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c index 6ba8473..7eaae38 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); |