Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 8cd8409 ("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]>
- Loading branch information