[rtc-linux] Re: [PATCH v2 04/10] rtc: max77686: Use a driver data struct instead hard-coded values
From: Laxman Dewangan <ldewangan@nvidia.com>
Date: 2016-01-22 10:01:46
Also in:
linux-samsung-soc, lkml
From: Laxman Dewangan <ldewangan@nvidia.com>
Date: 2016-01-22 10:01:46
Also in:
linux-samsung-soc, lkml
On Friday 22 January 2016 01:53 AM, Javier Martinez Canillas wrote:
The driver has some hard-coded values such as the minimum delay needed before a RTC update or the mask used for the sec/min/hour/etc registers. Use a data structure that contains these values and pass as driver data using the platform device ID table for each device. This allows to make the driver's ops callbacks more generic so other RTC that are similar but don't have the same values can also be supported. Signed-off-by: Javier Martinez Canillas <redacted>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com> -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.