Home
last modified time | relevance | path

Searched refs:ricoh_rtc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-rc5t583.c208 struct rc5t583_rtc *ricoh_rtc; in rc5t583_rtc_probe() local
213 ricoh_rtc = devm_kzalloc(&pdev->dev, sizeof(struct rc5t583_rtc), in rc5t583_rtc_probe()
215 if (!ricoh_rtc) in rc5t583_rtc_probe()
218 platform_set_drvdata(pdev, ricoh_rtc); in rc5t583_rtc_probe()
250 ricoh_rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name, in rc5t583_rtc_probe()
252 if (IS_ERR(ricoh_rtc->rtc)) { in rc5t583_rtc_probe()
253 ret = PTR_ERR(ricoh_rtc->rtc); in rc5t583_rtc_probe()