mirror-linux/drivers/opp
Aleks Todorov 0b7277e02d OPP: Return correct value in dev_pm_opp_get_level
Commit 073d3d2ca7 ("OPP: Level zero is valid") modified the
documentation for this function to indicate that errors should return a
non-zero value to avoid colliding with the OPP level zero, however
forgot to actually update the return.

No in-tree kernel code depends on the error value being 0.

Fixes: 073d3d2ca7 ("OPP: Level zero is valid")
Signed-off-by: Aleks Todorov <aleksbgbg@google.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2026-01-27 10:58:50 +05:30
..
Kconfig drivers/opp: Remove "select SRCU" 2023-01-05 11:47:21 +05:30
Makefile
core.c OPP: Return correct value in dev_pm_opp_get_level 2026-01-27 10:58:50 +05:30
cpu.c OPP: Initialize scope-based pointers inline 2025-10-23 11:58:05 +05:30
debugfs.c saner replacement for debugfs_rename() 2025-01-15 13:14:37 +01:00
of.c OPP: of: Simplify with scoped for each OF child loop 2026-01-05 10:41:18 +05:30
opp.h OPP: Remove _get_opp_table_kref() 2025-04-24 16:05:33 +05:30
ti-opp-supply.c opp: ti: Drop unnecessary of_match_ptr() 2024-09-04 20:43:41 +05:30