Skip to content

Commit

Permalink
hwmon/lm70: Make lm70_remove a __devexit function
Browse files Browse the repository at this point in the history
This fixes a potential broken reference.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Ralf Baechle authored and Jean Delvare committed Feb 14, 2007
1 parent ed6bafb commit 41be722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/lm70.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 41be722

Please sign in to comment.