On 05/06/2017 at 17:57:33 +0200, Heiner Kallweit wrote: > The driver has lots of places with chip-specific code what doesn't > necessarily facilitate maintenance. > > Let's describe chip-specific differences in century bit handling > in struct chip_desc to improve this. > > Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > v2: > - no changes > v3: > - add Reviewed-by > --- > drivers/rtc/rtc-ds1307.c | 70 ++++++++++++++++++------------------------------ > 1 file changed, 26 insertions(+), 44 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com