diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-22 17:25:46 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-27 21:57:09 +0200 |
| commit | 77dd14ab1b575328745644136ba758d394e10fbc (patch) | |
| tree | 98be25390e9dea36a9367a78f87c48834f4532a2 /scripts | |
| parent | 88b2670ea6505c6cfd1478ba34b041c60c4281dc (diff) | |
ACPI: TAD: Use devres for all driver cleanup
The code in acpi_tad_remove() needs to run after the unregistration of
the devres-managed RTC class device so that it doesn't race with the
class callbacks of the latter.
To make that happen, pass it to devm_add_action_or_reset() before
registering the RTC class device.
Fixes: 7572dcabe38d ("ACPI: TAD: Add alarm support to the RTC class device interface")
Fixes: 8a1e7f4b1764 ("ACPI: TAD: Add RTC class device interface")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/14001754.uLZWGnKmhe@rafael.j.wysocki
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
