On 05/06/2017 at 17:57:29 +0200, Heiner Kallweit wrote: > After the switch to regmap we can now make use of regmap_update_bits > to simplify read/modify/write ops. > > 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 | 82 ++++++++++++------------------------------------ > 1 file changed, 20 insertions(+), 62 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com