[ARM] rtc-sa1100: fix compiler warnings and error cleanup

Fix:
drivers/rtc/rtc-sa1100.c: In function `sa1100_rtc_proc':
drivers/rtc/rtc-sa1100.c:298: warning: unsigned int format, long unsigned int arg (arg 3)

and arrange for sa1100_rtc_open() to pass the devid to free_irq()
rather than NULL.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Russell King and committed by Russell King f1226701 19ca5d27

+3 -3
+3 -3
drivers/rtc/rtc-sa1100.c
··· 178 178 return 0; 179 179 180 180 fail_pi: 181 - free_irq(IRQ_RTCAlrm, NULL); 181 + free_irq(IRQ_RTCAlrm, dev); 182 182 fail_ai: 183 - free_irq(IRQ_RTC1Hz, NULL); 183 + free_irq(IRQ_RTC1Hz, dev); 184 184 fail_ui: 185 185 return ret; 186 186 } ··· 295 295 296 296 static int sa1100_rtc_proc(struct device *dev, struct seq_file *seq) 297 297 { 298 - seq_printf(seq, "trim/divider\t: 0x%08x\n", RTTR); 298 + seq_printf(seq, "trim/divider\t: 0x%08lx\n", RTTR); 299 299 seq_printf(seq, "alarm_IRQ\t: %s\n", 300 300 (RTSR & RTSR_ALE) ? "yes" : "no" ); 301 301 seq_printf(seq, "update_IRQ\t: %s\n",