[PATCH] rtc-sh: correctly report rtc_wkalrm.enabled
authorDavid Brownell <david-b@pacbell.net>
Thu, 11 Jan 2007 07:15:32 +0000 (23:15 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:20 +0000 (18:18 -0800)
commit0d103e90f63c4b78f2101f8c0bd303fa049ce9a7
treedcaf813aab5582e1eca33b946ae15c558a5472de
parent6fa1da8ea9318af6a0252f56cd2e689616346218
[PATCH] rtc-sh: correctly report rtc_wkalrm.enabled

This fixes the SH rtc driver to
  (a) correctly report 'enabled' status with other alarm status;
  (b) not duplicate that status in its procfs dump

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-sh.c