]> git.karo-electronics.de Git - linux-beck.git/commit
HID RTC: Open sensor hub open close
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 1 Oct 2013 16:22:00 +0000 (17:22 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Oct 2013 21:06:15 +0000 (22:06 +0100)
commit476b9547e872c709c07a45bd47301ce7236f3dc1
treed5e3bc0c92e9653becc6ff794c229abda6bdd6af
parent0a440ee9b6a916322613de0c23080fb6d0fd6e26
HID RTC: Open sensor hub open close

Open sensor hub when module is loaded and close when module is removed.
This helps saving power by opening HID transport only when there is an
user.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/rtc/rtc-hid-sensor-time.c