]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: mux: Allow the muxes to be named
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 2 Mar 2020 13:53:45 +0000 (16:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Mar 2020 10:11:03 +0000 (11:11 +0100)
commit884802fd7e95d78b05f33077afb4430dc6e9534e
tree10dd7ec0fbc977a2eda6269ae27c4a727908124c
parente646e887fe6e3e83f6d03a02240d91e62ddedb9a
usb: typec: mux: Allow the muxes to be named

The mux devices have been named by using the name of the
parent device as base until now, but if for example the
parent device has multiple muxes that will not work. This
makes it possible to supply the name for a mux during
registration.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c
include/linux/usb/typec_mux.h