Skip to contentSkip to conversation

platform_data: ti: fix a typo

PATCH In review Wang Qing 2 participants 2 messages Sep 26, 2020 – Sep 29, 2020 ChromeOS EC subdrivers

lore
Share & tools
lore

Wang Qing

author
#0 lore raw

PATCH 1/1 platform_data: ti: fix a typo

Modify the typo: "compliment" -> "complement".

---
 include/linux/platform_data/cros_ec_commands.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/platform_data/cros_ec_commands.h +3 -3
index 1fcfe9e..42203ce
@@ -261,12 +261,12 @@
 /* Memory space version; set to EC_ACPI_MEM_VERSION_CURRENT */
 #define EC_ACPI_MEM_VERSION            0x00
 /*
- * Test location; writing value here updates test compliment byte to (0xff -
+ * Test location; writing value here updates test complement byte to (0xff -
  * value).
  */
 #define EC_ACPI_MEM_TEST               0x01
-/* Test compliment; writes here are ignored. */
-#define EC_ACPI_MEM_TEST_COMPLIMENT    0x02
+/* Test complement; writes here are ignored. */
+#define EC_ACPI_MEM_TEST_COMPLEMENT    0x02
 
 /* Keyboard backlight brightness percent (0 - 100) */
 #define EC_ACPI_MEM_KEYBOARD_BACKLIGHT 0x03
Signature · 1 line
2.7.4
#1 lore raw

Hi Wang Qing,

Thank you for your patch.

Quoted 15 lines · Wang Qing

Modify the typo: "compliment" -> "complement".

---
 include/linux/platform_data/cros_ec_commands.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/platform_data/cros_ec_commands.h +0 -0
index 1fcfe9e..42203ce
@@ -261,12 +261,12 @@
 /* Memory space version; set to EC_ACPI_MEM_VERSION_CURRENT */
 #define EC_ACPI_MEM_VERSION            0x00
 /*

include/linux/platform_data/cros_ec_commands.h line 270

Quoted 10 lines
include/linux/platform_data/cros_ec_commands.h +3 -3
- * Test location; writing value here updates test compliment byte to (0xff -
+ * Test location; writing value here updates test complement byte to (0xff -
  * value).
  */
 #define EC_ACPI_MEM_TEST               0x01
-/* Test compliment; writes here are ignored. */
-#define EC_ACPI_MEM_TEST_COMPLIMENT    0x02
+/* Test complement; writes here are ignored. */
+#define EC_ACPI_MEM_TEST_COMPLEMENT    0x02
 

Although there is a typo, we did an effort to have cros_ec_command synced with ec commands in the firmware code, so I'd like to see this change also applied on the EC code. Do you mind to populate this change in the EC firmware code [1], please

[1] https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/master

Thanks,
Enric

Quoted 3 lines
include/linux/platform_data/cros_ec_commands.h +0 -0
 /* Keyboard backlight brightness percent (0 - 100) */
 #define EC_ACPI_MEM_KEYBOARD_BACKLIGHT 0x03