diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-11-20 09:35:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-20 11:41:46 +0300 |
commit | 52a0372a38b45899368b44147db52f7360aaea31 (patch) | |
tree | 0e6a16e0f3deea3f876efc3634d138d808a009c4 /drivers/usb/storage/ene_ub6250.c | |
parent | e1e52361c61afdf81d81cfbbfa3ce08971e60f50 (diff) | |
download | linux-52a0372a38b45899368b44147db52f7360aaea31.tar.xz |
usb: typec: Fix num_altmodes kernel-doc error
The commit to introduce the num_altmodes attribute for partner had an
error where one of the parameters was named differently in the comment
and the function signature. Fix the version in the comment to align with
what is in the function signature.
This fixes the following htmldocs warning:
drivers/usb/typec/class.c:632: warning: Excess function parameter 'num_alt_modes' description in 'typec_partner_set_num_altmodes'
Fixes: a0ccdc4a77a1 ("usb: typec: Add number of altmodes partner attr")
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20201120063523.4159877-1-pmalani@chromium.org
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/ene_ub6250.c')
0 files changed, 0 insertions, 0 deletions