diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-09-15 13:29:56 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-09-28 14:14:38 +0200 |
commit | 1b4c794fda583edabe864ac466e9cd43c707be80 (patch) | |
tree | c3c6ae9359c4d245d3b70c84d34bcb25eecbe0d2 /drivers/soundwire/intel.h | |
parent | f1c8bc332e6dacac221d0d6304f4a3e99b756e2f (diff) | |
download | talos-obmc-linux-1b4c794fda583edabe864ac466e9cd43c707be80.tar.gz talos-obmc-linux-1b4c794fda583edabe864ac466e9cd43c707be80.zip |
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/soundwire/intel.h')
0 files changed, 0 insertions, 0 deletions