commit | d2c92705c54c9c24f2b8be57b968ad21a30412e5 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <uwe@kleine-koenig.org> | Mon Jul 11 10:05:27 2016 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Jul 19 18:15:21 2016 +0200 |
tree | ef386f3b15925c3d1b1d8aebf4e0e774ec7f74cd | |
parent | 70c96dfac0e231424e17743bd52f6cd2ff1f2439 [diff] |
rtc: explicitly set tm_sec = 0 for drivers with minute accurancy Since all time members of the alarm data is initialized to -1 the drivers are responsible to set the tm_sec member to 0. Fixes: d68778b80dd7 ("rtc: initialize output parameter for read alarm to "uninitialized"") Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>