Re: [PATCHv3 3/8] rtc: add STM32 RTC driver

From: Alexandre Belloni
Date: Wed Jan 11 2017 - 05:17:14 EST


On 11/01/2017 at 11:07:16 +0100, Amelie DELAUNAY wrote :
> > This will never happen, tm is already checked multiple times (up to
> > three) in the core before this function can be called.
> >
> You're right. I'll remove all rtc_valid_tm calls.

You can keep the one in read_time

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com