[PATCH] driver core: class: fix Excess kernel-doc description warning

Randy Dunlap posted 1 patch 2 years ago
include/linux/device/class.h |    2 --
1 file changed, 2 deletions(-)
[PATCH] driver core: class: fix Excess kernel-doc description warning
Posted by Randy Dunlap 2 years ago
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>
---
 include/linux/device/class.h |    2 --
 1 file changed, 2 deletions(-)

diff -- a/include/linux/device/class.h b/include/linux/device/class.h
--- a/include/linux/device/class.h
+++ b/include/linux/device/class.h
@@ -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,