Thread (25 messages) 25 messages, 5 authors, 2016-05-29

Re: [PATCH v3 12/16] rtc: powerpc: provide rtc_class_ops directly

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-05-03 04:05:16
Also in: linux-alpha, linux-arch, linux-m68k, linux-rtc, linuxppc-dev, lkml

On Thu, 2016-04-28 at 00:34 +0200, Arnd Bergmann wrote:
The rtc-generic driver provides an architecture specific
wrapper on top of the generic rtc_class_ops abstraction,
and powerpc has another abstraction on top, which is a bit
silly.

This changes the powerpc rtc-generic device to provide its
rtc_class_ops directly, to reduce the number of layers
by one.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/powerpc/kernel/time.c | 29 ++++++++++++++++++++++++++++-
 drivers/rtc/rtc-generic.c  |  2 +-
 2 files changed, 29 insertions(+), 2 deletions(-)
If this hits linux-next it will go through my automated boot testing, which
hopefully would be sufficient to catch any bugs in this patch, cross fingers.

I don't know jack about all the layers of RTC mess, so my ack is basically
worthless here. But if you like you can have one anyway :)

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help