]> git.itanic.dy.fi Git - linux-stable/commitdiff
driver core: class: fix Excess kernel-doc description warning
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 23 Dec 2023 05:05:22 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 13:11:40 +0000 (14:11 +0100)
Remove the @p: lines to prevent the kernel-doc warning:

include/linux/device/class.h:72: warning: Excess struct member 'p' description in 'class'

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/20231223050522.13867-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/device/class.h

index abf3d3bfb6fe4dc3f29e26c599a8b18a676793ba..c576b49c55c22ea0684fc480ba1e00ed64351944 100644 (file)
@@ -40,8 +40,6 @@ struct fwnode_handle;
  *             for the devices belonging to the class. Usually tied to
  *             device's namespace.
  * @pm:                The default device power management operations of this class.
- * @p:         The private data of the driver core, no one other than the
- *             driver core can touch this.
  *
  * A class is a higher-level view of a device that abstracts out low-level
  * implementation details. Drivers may see a SCSI disk or an ATA disk, but,