From: Randy Dunlap Date: Sat, 23 Dec 2023 05:05:11 +0000 (-0800) Subject: counter: linux/counter.h: fix Excess kernel-doc description warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=416bdb89605d960405178b9bf04df512d1ace1a3;p=linux.git counter: linux/counter.h: fix Excess kernel-doc description warning Remove the @priv: line to prevent the kernel-doc warning: include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device' Signed-off-by: Randy Dunlap Fixes: f2ee4759fb70 ("counter: remove old and now unused registration API") Link: https://lore.kernel.org/r/20231223050511.13849-1-rdunlap@infradead.org Signed-off-by: William Breathitt Gray --- diff --git a/include/linux/counter.h b/include/linux/counter.h index 702e9108bbb44..b767b5c821f58 100644 --- a/include/linux/counter.h +++ b/include/linux/counter.h @@ -359,7 +359,6 @@ struct counter_ops { * @num_counts: number of Counts specified in @counts * @ext: optional array of Counter device extensions * @num_ext: number of Counter device extensions specified in @ext - * @priv: optional private data supplied by driver * @dev: internal device structure * @chrdev: internal character device structure * @events_list: list of current watching Counter events