[PATCH] iio: light: ltrf216a: Document the device name

From: Shreeya Patel
Date: Sun Jul 14 2024 - 15:37:50 EST


Compatible 'ltr,ltrf216a' is used by Valve's Steamdeck device
via the ACPI + PRP0001 mechanism.
Document the device name alognside the compatible.

Signed-off-by: Shreeya Patel <shreeya.patel@xxxxxxxxxxxxx>
---
drivers/iio/light/ltrf216a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/light/ltrf216a.c b/drivers/iio/light/ltrf216a.c
index 68dc48420a88..e97ff8f7ecd0 100644
--- a/drivers/iio/light/ltrf216a.c
+++ b/drivers/iio/light/ltrf216a.c
@@ -528,7 +528,7 @@ MODULE_DEVICE_TABLE(i2c, ltrf216a_id);

static const struct of_device_id ltrf216a_of_match[] = {
{ .compatible = "liteon,ltrf216a" },
- { .compatible = "ltr,ltrf216a" },
+ { .compatible = "ltr,ltrf216a" }, /* For Valve's Steamdeck device */
{}
};
MODULE_DEVICE_TABLE(of, ltrf216a_of_match);
--
2.39.2