linux/Documentation/firmware-guide/acpi
Rafael J. Wysocki 2924d2f837 ACPI: video: Clean up printing messages
Replace the ACPI_DEBUG_PRINT() instances in acpi_video.c with
acpi_handle_debug() calls and the ACPI_EXCEPTION()/ACPI_ERROR()/
ACPI_WARNING() instances in there with acpi_handle_info() calls,
which among other things causes the excessive log levels of those
messages to be increased.

Drop the _COMPONENT and ACPI_MODULE_NAME() definitions that are not
used any more from acpi_video.c, drop the no longer needed
ACPI_VIDEO_COMPONENT definition from the headers and update the
documentation accordingly.

While at it, add a pr_fmt() definition to acpi_video.c, replace the
direct printk() invocations in there with acpi_handle_info() or
pr_info() (and reduce the excessive log level where applicable) and
drop the PREFIX sybmbol definition which is not necessary any more
from acpi_video.c.

Also make unrelated janitorial changes to fix up white space and
use ACPI_FAILURE() instead of negating ACPI_SUCCESS().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2021-02-04 19:45:46 +01:00
..
apei Documentation: ACPI: EINJ: Fix error type values for PCIe errors 2021-01-14 13:11:25 +01:00
dsd Documentation: ACPI: _DSD: enable hyperlink in final references 2020-11-23 14:46:50 +01:00
acpi-lid.rst Documentation: ACPI: fix spelling mistakes 2020-11-10 18:48:56 +01:00
aml-debugger.rst Documentation: ACPI: move aml-debugger.txt to firmware-guide/acpi and convert to reST 2019-04-25 23:07:20 +02:00
debug.rst ACPI: video: Clean up printing messages 2021-02-04 19:45:46 +01:00
DSD-properties-rules.rst ACPI: Replace HTTP links with HTTPS ones 2020-07-27 14:47:08 +02:00
enumeration.rst Documentation: ACPI: enumeration: add PCI hierarchy representation 2020-11-23 17:59:49 +01:00
extcon-intel-int3496.rst docs: extcon: convert it to ReST and move to ACPI dir 2019-07-03 13:00:26 +02:00
gpio-properties.rst Documentation: ACPI: explain how to use gpio-line-names 2020-11-16 19:35:42 +01:00
i2c-muxes.rst Documentation: ACPI: move i2c-muxes.txt to firmware-guide/acpi and convert to reST 2019-04-25 23:07:20 +02:00
index.rst docs: add some new files to their respective index.rst files 2020-09-10 10:48:20 -06:00
intel-pmc-mux.rst usb: typec: Add firmware documentation for the Intel PMC mux control 2020-05-13 14:20:49 +02:00
lpit.rst ACPI: Replace HTTP links with HTTPS ones 2020-07-27 14:47:08 +02:00
method-customizing.rst Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST 2019-04-25 23:07:20 +02:00
method-tracing.rst Documentation: ACPI: fix spelling mistakes 2020-11-10 18:48:56 +01:00
namespace.rst Documentation: firmware-guide: ACPI: fix table alignment in namespace.rst 2020-04-08 14:27:48 +02:00
osi.rst Documentation: ACPI: move osi.txt to firmware-guide/acpi and convert to reST 2019-04-25 23:07:19 +02:00
video_extension.rst Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST 2019-04-25 23:07:20 +02:00