diff options
| author | Kaushlendra Kumar <kaushlendra.kumar@intel.com> | 2025-10-06 14:17:06 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-10-22 21:19:23 +0200 |
| commit | 20594cd104abaaabb676c7a2915b150ae5ff093d (patch) | |
| tree | 5d4a53e359c558246ce481083815a736c1bfb415 /tools/docs/parse-headers.py | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada (diff) | |
ACPI: button: Call input_free_device() on failing input device registration
Make acpi_button_add() call input_free_device() when
input_register_device() fails as required according to the
documentation of the latter.
Fixes: 0d51157dfaac ("ACPI: button: Eliminate the driver notify callback")
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Cc: 6.5+ <stable@vger.kernel.org> # 6.5+
[ rjw: Subject and changelog rewrite, Fixes: tag ]
Link: https://patch.msgid.link/20251006084706.971855-1-kaushlendra.kumar@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
