commit | d68778b80dd78ad6ed998397af182163d0ef16b0 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <uwe@kleine-koenig.org> | Wed May 11 09:11:23 2016 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Mon May 30 01:37:11 2016 +0200 |
tree | a3d4d8140133aec887dce8b3b9a9888ef2005c9b | |
parent | 1a695a905c18548062509178b98bc91e67510864 [diff] |
rtc: initialize output parameter for read alarm to "uninitialized" rtc drivers are supposed to set values they don't support to -1. To simplify this for drivers and also make it harder for them to get it wrong initialize the values to -1. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>