summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-s35390a.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-15 13:29:56 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-09-28 14:14:38 +0200
commit1b4c794fda583edabe864ac466e9cd43c707be80 (patch)
treec3c6ae9359c4d245d3b70c84d34bcb25eecbe0d2 /drivers/rtc/rtc-s35390a.c
parentf1c8bc332e6dacac221d0d6304f4a3e99b756e2f (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.
Diffstat (limited to 'drivers/rtc/rtc-s35390a.c')
0 files changed, 0 insertions, 0 deletions