drivers/rtc/rtc-bfin.c: do not abort when requesting irq fails
authorMike Frysinger <vapier@gentoo.org>
Fri, 6 Jun 2014 21:36:07 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:08 +0000 (16:08 -0700)
commit778575ff30294adea9fc1d935dc1364e25f8f138
tree063655b218ddf5a81646ab32b32be5ed34c240a3
parentcd914bba03d8a2ba30bf7385c5e2da9ac30f574f
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>
drivers/rtc/rtc-bfin.c