Skip to content

Commit 7ae4961

Browse files
nmenonrjwysocki
authored andcommitted
PM / OPP: opp_find_freq_exact() documentation fix
opp_find_freq_exact() documentation has is_available instead of available. This also fixes warning with the kernel-doc: scripts/kernel-doc drivers/base/power/opp.c >/dev/null Warning(drivers/base/power/opp.c:246): No description found for parameter 'available' Warning(drivers/base/power/opp.c:246): Excess function parameter 'is_available' description in 'opp_find_freq_exact' Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent a8b7228 commit 7ae4961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/power/opp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ int opp_get_opp_count(struct device *dev)
222222
* opp_find_freq_exact() - search for an exact frequency
223223
* @dev: device for which we do this operation
224224
* @freq: frequency to search for
225-
* @is_available: true/false - match for available opp
225+
* @available: true/false - match for available opp
226226
*
227227
* Searches for exact match in the opp list and returns pointer to the matching
228228
* opp if found, else returns ERR_PTR in case of error and should be handled

0 commit comments

Comments
 (0)