]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: CPPC: Adjust return code for inline functions in !CONFIG_ACPI_CPPC_LIB
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Sep 2024 20:32:16 +0000 (15:32 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Sep 2024 15:23:22 +0000 (10:23 -0500)
commit01ced022e125f7b328335bb2944a107afcafe351
tree595f8f3261de7caa286e23cae219e68c9bd7f516
parent2bcec09cc4ae62229e149213499e45b74190a24a
ACPI: CPPC: Adjust return code for inline functions in !CONFIG_ACPI_CPPC_LIB

Checkpath emits the following warning:
```
WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
```

Adjust the code accordingly.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
include/acpi/cppc_acpi.h