diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-06-07 01:36:07 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-07 03:08:08 +0400 |
commit | 778575ff30294adea9fc1d935dc1364e25f8f138 (patch) | |
tree | 063655b218ddf5a81646ab32b32be5ed34c240a3 /drivers/rtc/rtc-sa1100.c | |
parent | cd914bba03d8a2ba30bf7385c5e2da9ac30f574f (diff) | |
download | linux-778575ff30294adea9fc1d935dc1364e25f8f138.tar.xz |
drivers/rtc/rtc-bfin.c: do not abort when requesting irq fails
The RTC framework does not let you return an error once a call to
devm_rtc_device_register has succeeded. Avoid doing that when the IRQ
request fails as we can still support reading/writing the clock without
the IRQ.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Ales Novak <alnovak@suse.cz>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-sa1100.c')
0 files changed, 0 insertions, 0 deletions