rtc: Skip the suspend/resume handling if persistent clock exist
authorFeng Tang <feng.tang@intel.com>
Tue, 15 Jan 2013 16:09:48 +0000 (00:09 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 16 Jan 2013 02:16:08 +0000 (18:16 -0800)
commit9ecf37eb7a81e3295a1b274eafb6f83d7d2cabf0
treec1753603b4d286a5cb45570ebc52d69caea51bad
parent31ade30692dc9680bfc95700d794818fa3f754ac
rtc: Skip the suspend/resume handling if persistent clock exist

All the RTC suspend and resume functions are to compensate the
sleep time, but this is already done in timekeeping.c if persistent
clock exist.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/class.c