commit | 6a5f2a1f4dcdb31fde467d9ae612505692eb4243 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Sep 20 16:35:26 2018 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Fri Sep 28 14:21:01 2018 +0200 |
tree | c9468825c5b51dd5a08d31d4ebc211faedfe5f87 | |
parent | cfb74916e2ecf018e3189959edd2a1356b2fd89e [diff] |
rtc: ds1307: use rtc_add_group Register frequency test using rtc_add_group to avoid a possible race condition and simplify the code. This also moves the attribute to its proper location under the rtc device instead of the i2c parent device. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>