Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

authored by

Nishanth Menon and committed by
Rafael J. Wysocki
7ae49618 a8b7228c

+1 -1
+1 -1
drivers/base/power/opp.c
··· 222 222 * opp_find_freq_exact() - search for an exact frequency 223 223 * @dev: device for which we do this operation 224 224 * @freq: frequency to search for 225 - * @is_available: true/false - match for available opp 225 + * @available: true/false - match for available opp 226 226 * 227 227 * Searches for exact match in the opp list and returns pointer to the matching 228 228 * opp if found, else returns ERR_PTR in case of error and should be handled