diff options
author | Bjorn Andersson <[email protected]> | 2021-06-09 17:21:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-10 20:03:06 +0200 |
commit | 142d0b24c1b17139f1aaaacae7542a38aa85640f (patch) | |
tree | 65848ab1cd56723dc0e71a1b1d60bb34a79f15f5 /drivers/usb/cdns3/cdns3-ep0.c | |
parent | f247f0a82a4f8c3bfed178d8fd9e069d1424ee4e (diff) |
usb: typec: mux: Fix copy-paste mistake in typec_mux_match
Fix the copy-paste mistake in the return path of typec_mux_match(),
where dev is considered a member of struct typec_switch rather than
struct typec_mux.
The two structs are identical in regards to having the struct device as
the first entry, so this provides no functional change.
Fixes: 3370db35193b ("usb: typec: Registering real device entries for the muxes")
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions