author | Samu Onkalo
<samu.p.onkalo@nokia.com> 2009-10-07 23:32:35 UTC |
committer | Linus Torvalds
<torvalds@linux-foundation.org> 2009-10-08 14:36:40 UTC |
parent | a1125b1e41228bc2e5b4f023004a4280282d1dab |
drivers/hwmon/lis3lv02d_spi.c | +2 | -1 |
diff --git a/drivers/hwmon/lis3lv02d_spi.c b/drivers/hwmon/lis3lv02d_spi.c index ecd739534f6..82b16808a27 100644 --- a/drivers/hwmon/lis3lv02d_spi.c +++ b/drivers/hwmon/lis3lv02d_spi.c @@ -83,7 +83,8 @@ static int __devexit lis302dl_spi_remove(struct spi_device *spi) struct lis3lv02d *lis3 = spi_get_drvdata(spi); lis3lv02d_joystick_disable(); lis3lv02d_poweroff(lis3); - return 0; + + return lis3lv02d_remove_fs(&lis3_dev); } #ifdef CONFIG_PM