usb: typec: altmode: Remove the notification chain
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 11 Feb 2020 11:25:30 +0000 (14:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2020 18:51:21 +0000 (10:51 -0800)
commitbbe80c9a89b868e98ef0710cb03ee68dd78a4d8d
tree63b64a0f8065fa8b32dbec335846514ff1772a36
parent684cb4b79e594f786b942a3ac5097ecf0e9e3e08
usb: typec: altmode: Remove the notification chain

Using the generic notification chain is not reasonable with
the alternate modes because it would require dependencies
between the drivers of the components that need the
notifications, and the typec drivers.

There are no users for the alternate mode notifications, so
removing the chain and the API for it completely.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200211112531.86510-6-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/usb/typec_bus.rst
drivers/usb/typec/bus.c
drivers/usb/typec/bus.h
drivers/usb/typec/class.c
include/linux/usb/typec_altmode.h