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

driver core: device.h: fix Excess kernel-doc description warning

Remove the @knode_class: line to prevent the kernel-doc warning:

include/linux/device.h:807: warning: Excess struct member 'knode_class' description in 'device'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20231223050532.13881-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
ae4d90f7 520adf3b

-1
-1
include/linux/device.h
··· 662 662 * @id: device instance 663 663 * @devres_lock: Spinlock to protect the resource of the device. 664 664 * @devres_head: The resources list of the device. 665 - * @knode_class: The node used to add the device to the class list. 666 665 * @class: The class of the device. 667 666 * @groups: Optional attribute groups. 668 667 * @release: Callback to free the device after all references have