Re: [rtc-linux] [PATCH] rtc: fix potential race condition and remove build errors

2014-05-19 Thread Alessandro Zummo
On Mon, 19 May 2014 21:28:20 +0530 Raghavendra Ganiga wrote: > also the sysfs will not create entry for alarm if > irq registration fails in probe > > Signed-off-by: Raghavendra Chandra Ganiga Acked-by: Alessandro Zummo -- Best regards, Alessandro Zummo, Tower Technologies - Torino,

[PATCH] rtc: fix potential race condition and remove build errors

2014-05-19 Thread Raghavendra Ganiga
this patch fixes the following build errors reported by kbuild test robot by selecting REGMAP_SPI in Kconfig file >drivers/built-in.o: In function `ds1343_probe': >rtc-ds1343.c:(.text+0x1baf8f): undefined reference to `devm_regmap_init_spi' also it avoids the potential race condition by avoiding