diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-14 14:48:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-14 17:06:50 +0200 |
commit | 7e95c52cb786b34ce32470809636a8c436b3c309 (patch) | |
tree | 2c1855c49d8bd2ce1505852963ebc37ab6cc7b3b /drivers/acpi | |
parent | 73bbd350e9ebd28594ee05a48af8e2595d660230 (diff) | |
download | linux-stable-7e95c52cb786b34ce32470809636a8c436b3c309.tar.gz linux-stable-7e95c52cb786b34ce32470809636a8c436b3c309.tar.bz2 linux-stable-7e95c52cb786b34ce32470809636a8c436b3c309.zip |
PM / devfreq: Add missing error code in devfreq_add_device()
[ Upstream commit 18b380ed61f892ed06838d1f1a5124d966292ed3 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions