diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-14 15:15:04 -0500 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-02-14 15:15:04 -0500 |
commit | 41be722b61eeba51412fa16d0b3497ebab1ff52e (patch) | |
tree | dd7bf88b50f61c6a8a4521fe679fe67c658c6c38 /drivers/hwmon | |
parent | ed6bafbf6017d6a007b39de6b65ad3b8ae4c8aee (diff) |
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/hwmon')
-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 6ba84731b9cd..7eaae3834e15 100644 --- a/drivers/hwmon/lm70.c +++ b/drivers/hwmon/lm70.c | |||
@@ -126,7 +126,7 @@ out_dev_reg_failed: | |||
126 | return status; | 126 | return status; |
127 | } | 127 | } |
128 | 128 | ||
129 | static int __exit lm70_remove(struct spi_device *spi) | 129 | static int __devexit lm70_remove(struct spi_device *spi) |
130 | { | 130 | { |
131 | struct lm70 *p_lm70 = dev_get_drvdata(&spi->dev); | 131 | struct lm70 *p_lm70 = dev_get_drvdata(&spi->dev); |
132 | 132 | ||