From: Randy Dunlap Date: Sat, 23 Dec 2023 19:43:19 +0000 (-0800) Subject: platform/x86: wmi: linux/wmi.h: fix Excess kernel-doc description warning X-Git-Tag: v6.8-rc1~164^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87d8f1ee1d4070571095859d310f6951440f288c;p=thirdparty%2Flinux.git 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: b4cc979588ee ("platform/x86: wmi: Add kernel doc comments") Signed-off-by: Randy Dunlap Cc: Armin Wolf Cc: Hans de Goede Cc: Ilpo Järvinen Cc: platform-driver-x86@vger.kernel.org Reviewed-by: Armin Wolf Link: https://lore.kernel.org/r/20231223194321.23084-1-rdunlap@infradead.org Signed-off-by: Hans de Goede --- diff --git a/include/linux/wmi.h b/include/linux/wmi.h index 50f7f1e4fd4f8..686291b878525 100644 --- a/include/linux/wmi.h +++ b/include/linux/wmi.h @@ -21,8 +21,6 @@ */ struct wmi_device { struct device dev; - - /* private: used by the WMI driver core */ bool setable; };