diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-31 11:56:42 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-05-31 23:02:11 +0200 |
commit | a2ae8323a8e2c5668ae42493d925da1d68ff0324 (patch) | |
tree | d423ff31f0615f0b5758d0bf211b6fe5ae859852 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a0defd7cfc2804796144545e00aaf74a486adbe7 (diff) |
rtc: ds1685: fix possible race condition
The IRQ is requested before the struct rtc is allocated and registered, but
this struct is used in the IRQ handler.
Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc
before requesting the IRQ.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions