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)
commited37d7f619648bf1a3ac136e80d2d0d647734eb3
tree5a52e613fca43ac8e9e8c60140591b29255f121f
parent2a7fade7e03a7c773f91e2e5ff26ad6fafda5a9f
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