1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 17:23:25 -05:00
linux/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
ti-opp-supply.c