Lines Matching defs:rtc
1 /* drivers/rtc/rtc-v3020.c
16 * - Use the generic rtc class
25 #include <linux/rtc.h>
28 #include <linux/rtc-v3020.h>
37 struct rtc_device *rtc;
161 struct rtc_device *rtc;
205 rtc = rtc_device_register("v3020",
207 if (IS_ERR(rtc)) {
208 retval = PTR_ERR(rtc);
211 chip->rtc = rtc;
226 struct rtc_device *rtc = chip->rtc;
228 if (rtc)
229 rtc_device_unregister(rtc);