-
由 Alexandre Belloni 提交于
While highly unlikely, it is possible to get an interrupt as soon as it is requested. In that case, at91_rtc_interrupt() will be called with rtc == NULL. Solve that by using devm_rtc_allocate_device/rtc_register_device. Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>735ae205