UPSTREAM: usb: typec: tps6598x: Start using struct typec_operations
Supplying the operation callbacks as part of a struct typec_operations instead of as part of struct typec_capability during port registration. After this there is not need to keep the capabilities stored anywhere in the driver. 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-6-heikki.krogerus@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 158724419 Change-Id: Ib7bd4d899925522dbea297e25a50d8bdd3aa79e2 (cherry picked from commit 1007dda3be1c9f924746f892c094219be250928e) Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment