Re: [PATCH v2 1/6] rtc: m68k: provide rtc_class_ops directly

2016-04-27 Thread Arnd Bergmann
On Wednesday 27 April 2016 09:47:56 Geert Uytterhoeven wrote: > > --- a/arch/m68k/kernel/time.c > > +++ b/arch/m68k/kernel/time.c > > @@ -86,7 +86,24 @@ void read_persistent_clock(struct timespec *ts) > > } > > } > > > > -#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET > > +#if defined(CONFIG_ARCH_U

Re: [PATCH v2 1/6] rtc: m68k: provide rtc_class_ops directly

2016-04-27 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Apr 26, 2016 at 11:52 PM, Arnd Bergmann wrote: > The rtc-generic driver provides an architecture specific > wrapper on top of the generic rtc_class_ops abstraction, > and m68k has another abstraction on top, which is a bit > silly. > > This changes the m68k rtc-generic device to

[PATCH v2 1/6] rtc: m68k: provide rtc_class_ops directly

2016-04-26 Thread Arnd Bergmann
The rtc-generic driver provides an architecture specific wrapper on top of the generic rtc_class_ops abstraction, and m68k has another abstraction on top, which is a bit silly. This changes the m68k rtc-generic device to provide its rtc_class_ops directly, to reduce the number of layers by one. S