usb: typec: mux: Remove requirement for the "orientation-switch" device property
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 26 May 2021 15:35:48 +0000 (18:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 May 2021 07:23:57 +0000 (09:23 +0200)
commitacad3e9c7250c5fd20d9778a163f2adc95de38f5
tree526bdf04af6777dc3f5f15c0b0e90d9c811c900f
parent7bf991eab8b21afb7bd130b7065384a6ce2e8789
usb: typec: mux: Remove requirement for the "orientation-switch" device property

The additional boolean device property "orientation-switch"
is not needed when the connection is described with device
graph, so removing the check and the requirement for it.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210526153548.61276-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux.c