MLK-21478-25 Revert "MLK-16013-9 usb: typec: add interface to get port type and role"
This reverts commit
ccbf06406704c52d5146c9f28cbc8907429b92ce.
As we will use fwnode API to get typec properties, those APIs to be
reverted are not required, this will also fix below build warnings:
drivers/usb/typec/class.c: In function ‘typec_register_port’:
drivers/usb/typec/class.c:1591:2: warning: enumeration value
‘TYPEC_PORT_TYPE_UNKNOWN’ not handled
in switch [-Wswitch]
switch (cap->type) {
^~~~~~
Reported-by: Fugang Duan <fugang.duan@nxp.com>
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>