diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2022-10-19 17:55:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-22 13:22:51 +0200 |
commit | a84436a987e7f4ee8eeb62a8a5abcfc60b356d16 (patch) | |
tree | d24fcd5392f261e70d3a6f7569623cb630c28682 /drivers/usb/typec/mux.h | |
parent | d182bf156c4cb8b08ce4a75e82b3357b14a4382d (diff) | |
download | linux-a84436a987e7f4ee8eeb62a8a5abcfc60b356d16.tar.gz linux-a84436a987e7f4ee8eeb62a8a5abcfc60b356d16.tar.bz2 linux-a84436a987e7f4ee8eeb62a8a5abcfc60b356d16.zip |
usb: typec: retimer: Use device type for matching
Device name is not reliable so using the type instead in
retimer_fwnode_match().
This will also introduce is_typec_retimer() helper, and
remove the static keyword from the retimer device type. That
will make it accessible also in the main typec class.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221019145552.32493-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/mux.h')
0 files changed, 0 insertions, 0 deletions