Searched refs:palmas_rtc (Results 1 – 1 of 1) sorted by relevance
39 struct palmas_rtc { struct250 struct palmas_rtc *palmas_rtc = context; in palmas_rtc_interrupt() local251 struct device *dev = palmas_rtc->dev; in palmas_rtc_interrupt()260 rtc_update_irq(palmas_rtc->rtc, 1, RTC_IRQF | RTC_AF); in palmas_rtc_interrupt()275 struct palmas_rtc *palmas_rtc = NULL; in palmas_rtc_probe() local278 palmas_rtc = devm_kzalloc(&pdev->dev, sizeof(struct palmas_rtc), in palmas_rtc_probe()280 if (!palmas_rtc) in palmas_rtc_probe()290 palmas_rtc->dev = &pdev->dev; in palmas_rtc_probe()291 platform_set_drvdata(pdev, palmas_rtc); in palmas_rtc_probe()302 palmas_rtc->irq = platform_get_irq(pdev, 0); in palmas_rtc_probe()[all …]