diff options
author | Jean Delvare <jdelvare@suse.de> | 2018-03-01 09:04:13 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-03-02 11:18:55 +0100 |
commit | e9d09d97af7c8047959fcaae4217d80c26b2949c (patch) | |
tree | cae9b7f5553aab26911527674c1dcc9fffc6583e /block/blk-sysfs.c | |
parent | i2c: piix4: Use request_muxed_region (diff) | |
download | linux-e9d09d97af7c8047959fcaae4217d80c26b2949c.tar.xz linux-e9d09d97af7c8047959fcaae4217d80c26b2949c.zip |
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" <rafael.j.wysocki@intel.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions