Commit 87d8f1ee authored by Randy Dunlap's avatar Randy Dunlap Committed by Hans de Goede
Browse files

platform/x86: wmi: linux/wmi.h: fix Excess kernel-doc description warning



Remove the "private:" comment to prevent the kernel-doc warning:

include/linux/wmi.h:27: warning: Excess struct member 'setable' description in 'wmi_device'

Either a struct member is documented (via kernel-doc) or it's private,
but not both.

Fixes: b4cc9795 ("platform/x86: wmi: Add kernel doc comments")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Armin Wolf <W_Armin@gmx.de>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org
Reviewed-by: default avatarArmin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231223194321.23084-1-rdunlap@infradead.org


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 669f157f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
 */
struct wmi_device {
	struct device dev;

	/* private: used by the WMI driver core */
	bool setable;
};