usb: typec: Remove unused members from struct typec_capability
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 4 Nov 2019 14:24:26 +0000 (17:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2019 15:03:36 +0000 (16:03 +0100)
The members for the muxes are not used, so dropping them.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191104142435.29960-10-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/typec.h

index 8947980..0f52723 100644 (file)
@@ -209,8 +209,6 @@ struct typec_capability {
        int                     prefer_role;
        enum typec_accessory    accessory[TYPEC_MAX_ACCESSORY];
 
-       struct typec_switch     *sw;
-       struct typec_mux        *mux;
        struct fwnode_handle    *fwnode;
        void                    *driver_data;