From: Li Jun Date: Tue, 26 Jun 2018 23:45:21 +0000 (+0800) Subject: staging: typec: tcpci: add compatible string for nxp ptn5110 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=40242086f78c78284b54d11148f8bb35600178a4;p=linux.git staging: typec: tcpci: add compatible string for nxp ptn5110 Add nxp ptn5110 typec controller compatible string: "nxp,ptn5110", which is a standard tcpci chip with power delivery support. Meanwhile remove "usb,tcpci" because it doesn't follow the binding format rule and has not been used yet. Reviewed-by: Heikki Krogerus Signed-off-by: Li Jun Reviewed-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 076d97eaff6fa..dd2928824ef6c 100644 --- a/drivers/staging/typec/tcpci.c +++ b/drivers/staging/typec/tcpci.c @@ -575,7 +575,7 @@ MODULE_DEVICE_TABLE(i2c, tcpci_id); #ifdef CONFIG_OF static const struct of_device_id tcpci_of_match[] = { - { .compatible = "usb,tcpci", }, + { .compatible = "nxp,ptn5110", }, {}, }; MODULE_DEVICE_TABLE(of, tcpci_of_match);