diff options
author | Jean Delvare <[email protected]> | 2018-03-01 09:04:13 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2018-03-02 11:18:55 +0100 |
commit | e9d09d97af7c8047959fcaae4217d80c26b2949c (patch) | |
tree | cae9b7f5553aab26911527674c1dcc9fffc6583e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 04b6fcaba346e1ce76321ba9b0fd549da4c37ac2 (diff) |
i2c: scmi: Use standard device message logging functions
ACPI_ERROR and ACPI_DEBUG_PRINT are not intended to be used by device
drivers. Use acpi_handle message logging functions instead.
As a nice side effect, it removes the following compiler warnings
which were printed when ACPI debug is disabled:
drivers/i2c/busses/i2c-scmi.c: In function "acpi_smbus_cmi_add_cap":
drivers/i2c/busses/i2c-scmi.c:328:39: warning: suggest braces around empty body in an "else" statement [-Wempty-body]
drivers/i2c/busses/i2c-scmi.c:338:12: warning: suggest braces around empty body in an "else" statement [-Wempty-body]
Suggested-by: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions