projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed6bafb
)
hwmon/lm70: Make lm70_remove a __devexit function
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 14 Feb 2007 20:15:04 +0000
(21:15 +0100)
committer
Jean Delvare
<khali@arrakis.delvare>
Wed, 14 Feb 2007 20:15:04 +0000
(21:15 +0100)
This fixes a potential broken reference.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm70.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lm70.c
b/drivers/hwmon/lm70.c
index
6ba8473
..
7eaae38
100644
(file)
--- 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 __
dev
exit lm70_remove(struct spi_device *spi)
{
struct lm70 *p_lm70 = dev_get_drvdata(&spi->dev);