diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-06 17:51:23 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-09 18:12:42 +0200 |
| commit | 5bc1e72f80da4c20ce8b57851be4fad67e855ebd (patch) | |
| tree | a2817016c49842b28ef1b4fb4880c96320aa174e /include/linux/debugobjects.h | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
ACPI: glue: Reduce debug noise from acpi_device_notify()
When debug is enabled in the ACPI glue code that handles binding
devices to ACPI companions, acpi_device_notify() produces a lot of
message noise related to devices that have no ACPI companions.
Reduce that noise by checking the most obvious case, ACPI device
objects, directly and returning from acpi_device_notify() in that
case without printing any debug messages. Also avoid printing a
debug message when there is no matching ACPI bus type definition for
the given device, which is the case for the vast majority of devices.
Additionally, make the debug messages that get printed more informative.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/6325978.lOV4Wx5bFT@rafael.j.wysocki
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
