summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2023-05-26 16:14:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-29 15:17:52 +0100
commit3524fe31538c1a1de1da2571b1f313f9469edf51 (patch)
tree1fd54b3c152d9ba7600b2132e0a78ac65152b36f /drivers/platform
parent4aebc4f89f00a4cbfb0142c619e181f260e36546 (diff)
downloadlinux-stable-3524fe31538c1a1de1da2571b1f313f9469edf51.tar.gz
linux-stable-3524fe31538c1a1de1da2571b1f313f9469edf51.tar.bz2
linux-stable-3524fe31538c1a1de1da2571b1f313f9469edf51.zip
usb: typec: mux: Remove alt mode parameters from the API
The alt mode descriptor parameters are not used anymore. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Tested-by: Bjorn Andersson <andersson@kernel.org> Acked-by: Prashant Malani <pmalani@chromium.org> Link: https://lore.kernel.org/r/20230526131434.46920-3-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/chrome/cros_ec_typec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c
index a673c3342470..25f9767c28e8 100644
--- a/drivers/platform/chrome/cros_ec_typec.c
+++ b/drivers/platform/chrome/cros_ec_typec.c
@@ -77,7 +77,7 @@ static int cros_typec_get_switch_handles(struct cros_typec_port *port,
{
int ret = 0;
- port->mux = fwnode_typec_mux_get(fwnode, NULL);
+ port->mux = fwnode_typec_mux_get(fwnode);
if (IS_ERR(port->mux)) {
ret = PTR_ERR(port->mux);
dev_dbg(dev, "Mux handle not found: %d.\n", ret);