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

/linux-4.1.27/drivers/rtc/
H A Drtc-rc5t583.c217 struct rc5t583_rtc *ricoh_rtc; rc5t583_rtc_probe() local
222 ricoh_rtc = devm_kzalloc(&pdev->dev, sizeof(struct rc5t583_rtc), rc5t583_rtc_probe()
224 if (!ricoh_rtc) rc5t583_rtc_probe()
227 platform_set_drvdata(pdev, ricoh_rtc); rc5t583_rtc_probe()
259 ricoh_rtc->rtc = devm_rtc_device_register(&pdev->dev, pdev->name, rc5t583_rtc_probe()
261 if (IS_ERR(ricoh_rtc->rtc)) { rc5t583_rtc_probe()
262 ret = PTR_ERR(ricoh_rtc->rtc); rc5t583_rtc_probe()

Completed in 57 milliseconds