[PATCH v2 0/2] extcon: axp288: Move to swnodes

From: Heikki Krogerus
Date: Tue Oct 08 2019 - 08:26:05 EST

Hi Hans,

Fixed the compiler warning in this version. No other changes.

The original cover letter:

That AXP288 extcon driver is the last that uses build-in connection
description. I'm replacing it with a code that finds the role mux
software node instead.

I'm proposing also here a little helper
usb_role_switch_find_by_fwnode() that uses
class_find_device_by_fwnode() to find the role switches.


Heikki Krogerus (2):
usb: roles: Add usb_role_switch_find_by_fwnode()
extcon: axp288: Remove the build-in connection description

drivers/extcon/extcon-axp288.c | 38 ++++++++++++++++++++--------------
drivers/usb/roles/class.c | 21 +++++++++++++++++++
include/linux/usb/role.h | 3 +++
3 files changed, 47 insertions(+), 15 deletions(-)