]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: typec: tcpci_rt1711h: Drop unnecessary VID/PID/DID checks
authorAlexey Charkov <alchark@flipper.net>
Wed, 18 Mar 2026 14:32:56 +0000 (18:32 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 14:53:11 +0000 (16:53 +0200)
commitb41470c6b4d4177adf8968015514cf240e37d226
treedef17f042b8788b110d89cfa382fc3d0e1df50ad
parentaa9de45cdba50540412d619de50c666137d946e7
usb: typec: tcpci_rt1711h: Drop unnecessary VID/PID/DID checks

Existing checks for VID/PID/DID in the driver are redundant since the
driver is already matched to the device via I2C device ID and OF
compatible strings, and they preclude the use of fallback compatibles.

Remove them to make the driver slimmer and adding new clones easier.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Alexey Charkov <alchark@flipper.net>
Link: https://patch.msgid.link/20260318-husb311-v4-4-69e029255430@flipper.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_rt1711h.c