]> git.itanic.dy.fi Git - linux-stable/commitdiff
driver core: device.h: fix Excess kernel-doc description warning
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 23 Dec 2023 05:05:32 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:12:01 +0000 (14:12 +0100)
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>
include/linux/device.h

index aefc5ca7f1cfc66cdb976a3e9c025556f2164b67..ed600dbf950e30383c3b3c590c91ae2ace212e5d 100644 (file)
@@ -662,7 +662,6 @@ struct device_physical_location {
  * @id:                device instance
  * @devres_lock: Spinlock to protect the resource of the device.
  * @devres_head: The resources list of the device.
- * @knode_class: The node used to add the device to the class list.
  * @class:     The class of the device.
  * @groups:    Optional attribute groups.
  * @release:   Callback to free the device after all references have