Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PM / devfreq: Add missing error code in devfreq_add_device()
[ Upstream commit 18b380e ] Set err code in the error path before jumping to the end of the function. Fixes: 4dc3bab ("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>
- Loading branch information