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

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.orgSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 669f157f
......@@ -21,8 +21,6 @@
*/
struct wmi_device {
struct device dev;
/* private: used by the WMI driver core */
bool setable;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment