]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: lis3: restore axis enabled bits
authorSamu Onkalo <samu.p.onkalo@nokia.com>
Fri, 22 Oct 2010 11:57:28 +0000 (07:57 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 25 Oct 2010 21:11:38 +0000 (14:11 -0700)
commit6ba98a2eed160081d9efee002b0016c042716c71
tree5a52e613fca43ac8e9e8c60140591b29255f121f
parentbf468b350f0c68a00ca97d64abfe0920d403e75e
hwmon: lis3: restore axis enabled bits

All axis enable bits are set to 0 at module remove.
Restore reset default value at init.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lis3lv02d_i2c.c
drivers/hwmon/lis3lv02d_spi.c