diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2012-10-05 02:14:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 20:05:07 +0200 |
commit | 48e9766726ebb8f5d98823fe6b32dff570bc04d8 (patch) | |
tree | b9bea4658ca2e7d3f0304a803ceb1195fbaac596 /drivers/rtc/rtc-s35390a.c | |
parent | drivers/rtc/rtc-tps65910.c: use platform_get_irq() to get RTC irq details (diff) | |
download | linux-48e9766726ebb8f5d98823fe6b32dff570bc04d8.tar.xz linux-48e9766726ebb8f5d98823fe6b32dff570bc04d8.zip |
drivers/rtc/rtc-m41t80.c: remove disabled alarm functionality
Commit c3b79770e51a ("rtc: m41t80: Workaround broken alarm
functionality") disabled m41t80's alarm functions. But since those
functions were not touched, building this driver triggers these GCC
warnings:
drivers/rtc/rtc-m41t80.c:216:12: warning: 'm41t80_rtc_alarm_irq_enable' defined but not used [-Wunused-function]
drivers/rtc/rtc-m41t80.c:238:12: warning: 'm41t80_rtc_set_alarm' defined but not used [-Wunused-function]
drivers/rtc/rtc-m41t80.c:308:12: warning: 'm41t80_rtc_read_alarm' defined but not used [-Wunused-function]
Remove these functions (and the commented out references to them) to
silence these warnings. Anyone wanting to fix the alarm irq functionality
can easily find the removed code in the git log of this file or through
some web searches.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions