[PATCH v11 03/10] usb: typec: tcpci_maxim: Fix the compatible string

From: Badhri Jagan Sridharan
Date: Tue Oct 20 2020 - 05:37:23 EST


Changing compatible string to include the part number.

Signed-off-by: Badhri Jagan Sridharan <badhri@xxxxxxxxxx>
---
V11 is the first version of the patch.
Introduced to add chip number to the compatible property to address
Rob Herring's comment on dt-binding patch.
---
drivers/usb/typec/tcpm/tcpci_maxim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/typec/tcpm/tcpci_maxim.c b/drivers/usb/typec/tcpm/tcpci_maxim.c
index 723d7dd38f75..82cc257fefd4 100644
--- a/drivers/usb/typec/tcpm/tcpci_maxim.c
+++ b/drivers/usb/typec/tcpm/tcpci_maxim.c
@@ -481,7 +481,7 @@ MODULE_DEVICE_TABLE(i2c, max_tcpci_id);

#ifdef CONFIG_OF
static const struct of_device_id max_tcpci_of_match[] = {
- { .compatible = "maxim,tcpc", },
+ { .compatible = "maxim,33359", },
{},
};
MODULE_DEVICE_TABLE(of, max_tcpci_of_match);
--
2.29.0.rc1.297.gfa9743e501-goog