linux-stable/drivers/opp
YueHaibing 27ff8187f1 opp: Fix return in _opp_add_static_v2()
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: deac8703da ("PM / OPP: _of_add_opp_table_v2(): increment count only if OPP is added")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2021-10-08 13:24:46 +05:30
..
core.c opp: Change type of dev_pm_opp_attach_genpd(names) argument 2021-10-04 14:38:59 +05:30
cpu.c
debugfs.c
Kconfig
Makefile
of.c opp: Fix return in _opp_add_static_v2() 2021-10-08 13:24:46 +05:30
opp.h opp: Don't drop extra references to OPPs accidentally 2021-03-12 09:26:52 +05:30
ti-opp-supply.c