commit | 18b380ed61f892ed06838d1f1a5124d966292ed3 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Fri May 14 14:48:43 2021 +0800 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Thu May 20 12:16:41 2021 +0900 |
tree | c1a110fa09dd0ea22365ae33eadf1570faf17961 | |
parent | d07f6ca923ea0927a1024dfccafc5b53b61cfecc [diff] |
PM / devfreq: Add missing error code in devfreq_add_device() Set err code in the error path before jumping to the end of the function. Fixes: 4dc3bab8687f ("PM / devfreq: Add support delayed timer for polling mode") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>