Skip to contentSkip to conversation

platform/x86: dell-privacy: correct CONFIG_DELL_WMI_PRIVACY macro name in comments

PATCH In review Ethan Nelson-Moore 2 participants 2 messages Jun 11 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: dell-privacy: correct CONFIG_DELL_WMI_PRIVACY macro name in comments

Comments in drivers/platform/x86/dell/dell-wmi-privacy.h incorrectly refer to CONFIG_DELL_PRIVACY instead of CONFIG_DELL_WMI_PRIVACY. Correct them.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 drivers/platform/x86/dell/dell-wmi-privacy.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/dell/dell-wmi-privacy.h +2 -2
index 50c9b943dd47..ca242e1fe53f 100644
@@ -13,7 +13,7 @@ bool dell_privacy_has_mic_mute(void);
 bool dell_privacy_process_event(int type, int code, int status);
 int dell_privacy_register_driver(void);
 void dell_privacy_unregister_driver(void);
-#else /* CONFIG_DELL_PRIVACY */
+#else /* CONFIG_DELL_WMI_PRIVACY */
 static inline bool dell_privacy_has_mic_mute(void)
 {
 	return false;
@@ -32,5 +32,5 @@ static inline int dell_privacy_register_driver(void)
 static inline void dell_privacy_unregister_driver(void)
 {
 }
-#endif /* CONFIG_DELL_PRIVACY */
+#endif /* CONFIG_DELL_WMI_PRIVACY */
 #endif
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 8 lines · Ethan Nelson-Moore

Comments in drivers/platform/x86/dell/dell-wmi-privacy.h incorrectly refer to CONFIG_DELL_PRIVACY instead of CONFIG_DELL_WMI_PRIVACY. Correct them.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: dell-privacy: correct CONFIG_DELL_WMI_PRIVACY macro name in comments

      commit: 25fbff92dd485eb15eaf1aa7252a99fcaabfef5e

--
i.