mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||