Commit 50089be6 authored by Alexander Lobakin's avatar Alexander Lobakin Committed by David S. Miller
Browse files

net: qede: fix kernel-doc for qede_ptp_adjfreq()



One of the function arguments was renamed some time ago, but this
wasn't reflected in its kernel-doc comment.
Also add the description for return values.

Signed-off-by: default avatarAlexander Lobakin <alobakin@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ab90341
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -28,12 +28,12 @@ struct qede_ptp {
};

/**
 * qede_ptp_adjfreq
 * @ptp: the ptp clock structure
 * @ppb: parts per billion adjustment from base
 * qede_ptp_adjfreq() - Adjust the frequency of the PTP cycle counter.
 *
 * Adjust the frequency of the ptp cycle counter by the
 * indicated ppb from the base frequency.
 * @info: The PTP clock info structure.
 * @ppb: Parts per billion adjustment from base.
 *
 * Return: Zero on success, negative errno otherwise.
 */
static int qede_ptp_adjfreq(struct ptp_clock_info *info, s32 ppb)
{