diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-08-18 07:23:06 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-08-18 13:50:56 -0400 |
commit | c0af3b61b50810fd73926be0d5f59cd6d8f8ac52 (patch) | |
tree | 969a45d2b0a215d83adb90ac293545ebe7592796 | |
parent | 81e0da703fdba1ee126868bf8350592c79cdba13 (diff) |
iio: accel: kxcjk1013: Improve comments on KIOX010A and KIOX020A ACPI ids
The KIOX010A and KIOX020A ACPI ids go hand in hand, they are used in
yoga style 2-in-1s, with KIOX010A indicating the KXCJ91008 sensor in the
display of the 2-in-1 and KIOX020A indicating the KXCJ91008 sensor in the
base.
Improve the existing comment on the "KIOX010A" kx_acpi_match table entry
to make clear we are talking about a yoga-style (360 degree hinges) device
here and add a similar comment to the "KIOX020A" entry.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/accel/kxcjk-1013.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 6645771aa349..fee535d6e45b 100644 --- a/drivers/iio/accel/kxcjk-1013.c +++ b/drivers/iio/accel/kxcjk-1013.c | |||
@@ -1486,8 +1486,8 @@ static const struct acpi_device_id kx_acpi_match[] = { | |||
1486 | {"KIOX0008", KXCJ91008}, | 1486 | {"KIOX0008", KXCJ91008}, |
1487 | {"KIOX0009", KXTJ21009}, | 1487 | {"KIOX0009", KXTJ21009}, |
1488 | {"KIOX000A", KXCJ91008}, | 1488 | {"KIOX000A", KXCJ91008}, |
1489 | {"KIOX010A", KXCJ91008}, /* KXCJ91008 inside the display of a 2-in-1 */ | 1489 | {"KIOX010A", KXCJ91008}, /* KXCJ91008 in the display of a yoga 2-in-1 */ |
1490 | {"KIOX020A", KXCJ91008}, | 1490 | {"KIOX020A", KXCJ91008}, /* KXCJ91008 in the base of a yoga 2-in-1 */ |
1491 | {"KXTJ1009", KXTJ21009}, | 1491 | {"KXTJ1009", KXTJ21009}, |
1492 | {"KXJ2109", KXTJ21009}, | 1492 | {"KXJ2109", KXTJ21009}, |
1493 | {"SMO8500", KXCJ91008}, | 1493 | {"SMO8500", KXCJ91008}, |