From 778575ff30294adea9fc1d935dc1364e25f8f138 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 6 Jun 2014 14:36:07 -0700 Subject: [PATCH] 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-format-patch failed