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:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| cpu.c | ||
| debugfs.c | ||
| Kconfig | ||
| Makefile | ||
| of.c | ||
| opp.h | ||
| ti-opp-supply.c | ||
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:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| cpu.c | ||
| debugfs.c | ||
| Kconfig | ||
| Makefile | ||
| of.c | ||
| opp.h | ||
| ti-opp-supply.c | ||