summaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/bus.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2020-02-11 14:25:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-12 10:51:21 -0800
commitbbe80c9a89b868e98ef0710cb03ee68dd78a4d8d (patch)
tree63b64a0f8065fa8b32dbec335846514ff1772a36 /drivers/usb/typec/bus.h
parent684cb4b79e594f786b942a3ac5097ecf0e9e3e08 (diff)
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>
Diffstat (limited to 'drivers/usb/typec/bus.h')
-rw-r--r--drivers/usb/typec/bus.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/typec/bus.h b/drivers/usb/typec/bus.h
index 0c9661c96473..8ba8112d2740 100644
--- a/drivers/usb/typec/bus.h
+++ b/drivers/usb/typec/bus.h
@@ -22,8 +22,6 @@ struct altmode {
struct altmode *partner;
struct altmode *plug[2];
-
- struct blocking_notifier_head nh;
};
#define to_altmode(d) container_of(d, struct altmode, adev)