git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mqueue: apply mathematics distributivity on mq_bytes calculation
[safe/jmp/linux-2.6]
/
drivers
/
hwmon
/
lis3lv02d_spi.c
diff --git
a/drivers/hwmon/lis3lv02d_spi.c
b/drivers/hwmon/lis3lv02d_spi.c
index
ecd7395
..
82b1680
100644
(file)
--- 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