From 5cbfea1d4c5ce2ec8bee151dd6c25e72cf04a318 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 8 Oct 2012 14:26:40 +1100 Subject: [PATCH] Revert "rtc_sysfs_show_hctosys(): display 0 if resume failed" This reverts commit 2237ba05b6847ead773ce454566a177c84cefc4a. --- drivers/rtc/class.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 528c99bb294a..f8a0aab218cb 100644 --- a/drivers/rtc/class.c +++ b/drivers/rtc/class.c @@ -43,8 +43,7 @@ int rtc_hctosys_ret = -ENODEV; */ static struct timespec old_rtc, old_system, old_delta; -/* Result of the last RTC to system clock attempt. */ -int rtc_hctosys_ret = -ENODEV; + static int rtc_suspend(struct device *dev, pm_message_t mesg) { -- 2.39.5