usb: typec: Add class for plug alt mode device
authorPrashant Malani <pmalani@chromium.org>
Thu, 10 Dec 2020 21:16:54 +0000 (13:16 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 10:07:59 +0000 (11:07 +0100)
commitecf4d4310a16c32fee081924a1aebe9f4c7c0403
treec75c4c3b968146fb90ddbddec715807ae2f2f2a8
parentca955d3308ba111881d18bca7045aee964eac6ce
usb: typec: Add class for plug alt mode device

Add the Type C class for plug alternate mode devices which are being
registered by the Type C connector class. This ensures that udev events
get generated when the plug alt modes are registered.

Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20201210211653.879044-1-pmalani@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/class.c