commit | 1b4c794fda583edabe864ac466e9cd43c707be80 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Sat Sep 15 13:29:56 2018 +0200 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Fri Sep 28 14:14:38 2018 +0200 |
tree | c3c6ae9359c4d245d3b70c84d34bcb25eecbe0d2 | |
parent | f1c8bc332e6dacac221d0d6304f4a3e99b756e2f [diff] |
rtc: isl1208: avoid possible sysfs race Use rtc_add_group to add the common sysfs group to avoid a possible race condition. [Denis.Osterland@diehl.com: use to_i2c_client(dev->parent)] Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> The move of atrim, dtrim usr sysfs properties from i2c device to rtc device require to access them via dev->parent. This patch also aligns timestamp0.