]> git.itanic.dy.fi Git - linux-stable/commit
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)
commit87d8f1ee1d4070571095859d310f6951440f288c
treeec2436ce3833fc17c5472eafaa3297011e89e93a
parent669f157fd7ad987dd5beba46576ec357f4d6c686
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 <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