diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-09-20 17:35:26 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-09-28 15:21:01 +0300 |
commit | 6a5f2a1f4dcdb31fde467d9ae612505692eb4243 (patch) | |
tree | c9468825c5b51dd5a08d31d4ebc211faedfe5f87 /crypto/cmac.c | |
parent | cfb74916e2ecf018e3189959edd2a1356b2fd89e (diff) | |
download | linux-6a5f2a1f4dcdb31fde467d9ae612505692eb4243.tar.xz |
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>
Diffstat (limited to 'crypto/cmac.c')
0 files changed, 0 insertions, 0 deletions