]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-bfin.c: do not abort when requesting irq fails
authorMike Frysinger <vapier@gentoo.org>
Thu, 22 May 2014 00:43:53 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:53 +0000 (10:43 +1000)
commitae4747541225617cb9ff4bae96721e6f534e8a49
treef0d3b3a3bc5ffc9f085dc468d21f2ea3fde9ba68
parent1b921c439151cb4301529c6ea316e50d3c368b48
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>
drivers/rtc/rtc-bfin.c