Hi,

this patchset add handling of external USB accessories that are
connected to the extcon max77843 device.

The first patch is preparatory, that mainly aims to improve the
readability of the second patch. It makes some code refactoring
reducing the duplicated code, the result is exactly the same.

It has been tested on TM2 with mainline kernel 4.11-rc4.

Andi

Andi Shyti (2):
  extcon: max77843: improve the code and minimize duplicated lines
  extcon: max77843: support USB accessories as external USB hosts

 drivers/extcon/extcon-max77843.c | 50 ++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 30 deletions(-)

-- 
2.11.0

Reply via email to