Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750933AbdDBFgA (ORCPT ); Sun, 2 Apr 2017 01:36:00 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35228 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbdDBFf6 (ORCPT ); Sun, 2 Apr 2017 01:35:58 -0400 From: Andi Shyti X-Google-Original-From: Andi Shyti To: MyungJoo Ham , Chanwoo Choi , Jaewon Kim Cc: Seung-Woo Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [PATCH v2 0/2] Add support for USB accessories in the max77843 extcon Date: Sun, 2 Apr 2017 14:35:40 +0900 Message-Id: <20170402053542.29570-1-andi@etezian.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 30 From: Andi Shyti 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