From: Mike Frysinger Date: Fri, 6 Jun 2014 21:36:07 +0000 (-0700) Subject: drivers/rtc/rtc-bfin.c: do not abort when requesting irq fails X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~4^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778575ff30294adea9fc1d935dc1364e25f8f138;p=pandora-kernel.git 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 Reported-by: Ales Novak Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed