Commit 41be722b authored by Ralf Baechle's avatar Ralf Baechle Committed by Jean Delvare
Browse files

hwmon/lm70: Make lm70_remove a __devexit function



This fixes a potential broken reference.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent ed6bafbf
...@@ -126,7 +126,7 @@ out_dev_reg_failed: ...@@ -126,7 +126,7 @@ out_dev_reg_failed:
return status; 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); struct lm70 *p_lm70 = dev_get_drvdata(&spi->dev);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment