Skip to content

Commit 2c864c7

Browse files
jacob-kellerdavem330
authored andcommitted
ptp: fix struct member comment for do_aux_work
The do_aux_work callback had documentation in the structure comment which referred to it as "do_work". Signed-off-by: Jacob Keller <[email protected]> Cc: Richard Cochran <[email protected]> Acked-by: Richard Cochran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 64d950a commit 2c864c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/linux/ptp_clock_kernel.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ struct ptp_system_timestamp {
105105
* parameter func: the desired function to use.
106106
* parameter chan: the function channel index to use.
107107
*
108-
* @do_work: Request driver to perform auxiliary (periodic) operations
109-
* Driver should return delay of the next auxiliary work scheduling
110-
* time (>=0) or negative value in case further scheduling
111-
* is not required.
108+
* @do_aux_work: Request driver to perform auxiliary (periodic) operations
109+
* Driver should return delay of the next auxiliary work
110+
* scheduling time (>=0) or negative value in case further
111+
* scheduling is not required.
112112
*
113113
* Drivers should embed their ptp_clock_info within a private
114114
* structure, obtaining a reference to it using container_of().

0 commit comments

Comments
 (0)