]> git.itanic.dy.fi Git - linux-stable/commitdiff
platform/x86: wmi: linux/wmi.h: fix Excess kernel-doc description warning
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 23 Dec 2023 19:43:19 +0000 (11:43 -0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 2 Jan 2024 12:31:48 +0000 (13:31 +0100)
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: b4cc979588ee ("platform/x86: wmi: Add kernel doc comments")
Signed-off-by: Randy 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: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20231223194321.23084-1-rdunlap@infradead.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/linux/wmi.h

index 50f7f1e4fd4f85495acd87b926168d89f9a18ee8..686291b878525a9cfdd530ab4a76bf8aa83a2cc3 100644 (file)
@@ -21,8 +21,6 @@
  */
 struct wmi_device {
        struct device dev;
-
-       /* private: used by the WMI driver core */
        bool setable;
 };