Skip to content
Commit 6a5f2a1f authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent cfb74916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment