From: Laxman Dewangan Date: Fri, 22 Feb 2013 00:44:36 +0000 (-0800) Subject: drivers/rtc/rtc-tps65910.c: remove unnecessary irq stat save and restore X-Git-Tag: v3.9-rc1~114^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfaf09ac8555141b7311bb69b456bd96886fd90c;p=pandora-kernel.git drivers/rtc/rtc-tps65910.c: remove unnecessary irq stat save and restore The driver stores the interrupt enable register before going to suspend and restore in resume. Also it enables alarm before going to suspend. The driver only write the Interrupt enable register for enabling ALARM and does not enable any other bits. So it is not require to save complete register and enable ALARM interrupt before suspend and restore in resume. Also ALARM interrupt already enable if alarm is enabled before going to suspend and hence it is not require to enable explictly in suspend. Removing such above code. Signed-off-by: Laxman Dewangan Cc: Mark Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed