aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorBjorn Andersson <[email protected]>2017-11-06 05:27:41 +0000
committerMyungJoo Ham <[email protected]>2018-01-02 00:36:54 +0000
commitd1bf2d30728f310f72296b54f0651ecdb09cbb12 (patch)
tree55d43694a9483263c8ae74171efdcc207716299c /drivers/acpi/cppc_acpi.c
parentLinux 4.15-rc6 (diff)
downloadkernel-d1bf2d30728f310f72296b54f0651ecdb09cbb12.tar.gz
kernel-d1bf2d30728f310f72296b54f0651ecdb09cbb12.zip
PM / devfreq: Propagate error from devfreq_add_device()
Propagate the error of devfreq_add_device() in devm_devfreq_add_device() rather than statically returning ENOMEM. This makes it slightly faster to pinpoint the cause of a returned error. Fixes: 8cd84092d35e ("PM / devfreq: Add resource-managed function for devfreq device") Cc: [email protected] Acked-by: Chanwoo Choi <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions