mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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>
This commit is contained in:
parent
ed6bafbf60
commit
41be722b61
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static int __devinit lm70_probe(struct spi_device *spi)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue