From: Andi Shyti <a...@smida.it> 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 Changelog v1 -> v2 ------------------ Added a comment to explain better the meaning of the MAX77843_MUIC_ADC_RESERVED_ACC_* devices as recommended by Krzysztof. 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 | 57 +++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 30 deletions(-) -- 2.11.0