-
由 YueHaibing 提交于
Fix sparse warning: drivers/opp/of.c:924 _opp_add_static_v2() warn: passing zero to 'ERR_PTR' For duplicate OPPs 'ret' be set to zero. Fixes: deac8703 ("PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added") Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
27ff8187