summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorEric Piel <eric.piel@tremplin-utc.net>2009-06-17 00:34:14 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-17 04:47:57 +0200
commita002ee896dfd08ce9fba44e9ae513c9094699a27 (patch)
tree3a66ea80ad5523359e3f3f34be39d902d84706bb /arch/m68knommu
parentlis3: fix misc device unregistering and printk (diff)
downloadlinux-a002ee896dfd08ce9fba44e9ae513c9094699a27.tar.xz
linux-a002ee896dfd08ce9fba44e9ae513c9094699a27.zip
lis3: remove automatic shutdown of the device
After measurement on my laptop, it seems that turning off the device does not bring any energy saving (within 0.1W precision). So let's keep the device always on. It simplifies the code, and it avoids the problem of reading a wrong value sometimes just after turning the device on. Moreover, since commit ef2cfc790bf5f0ff189b01eabc0f4feb5e8524df had been too zealous, the device was actually never turned off anyway. This patch also restores the damages done by this commit concerning the initialisation/poweroff. Also do more clean up with the usage of the lis3_dev global variable. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions