From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755659AbdEEGNW (ORCPT ); Fri, 5 May 2017 02:13:22 -0400 Received: from mail-pg0-f41.google.com ([74.125.83.41]:34999 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755110AbdEEGNU (ORCPT ); Fri, 5 May 2017 02:13:20 -0400 From: Baolin Wang To: balbi@kernel.org, gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, neilb@suse.com, jun.li@nxp.com, peter.chen@freescale.com, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH v3 0/3] Introduce one extcon device into usb phy Date: Fri, 5 May 2017 14:12:23 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces one pointer of extcon device into usb phy structure, and some other helper functions to register extcon instead of each phy driver having its own related extcon APIs. Changes since v2: - Support separate extcon device. - Convert the phy-msm-usb driver. Changes since v1: - Fix build errors with random config. Baolin Wang (3): usb: phy: Introduce one extcon device into usb phy usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister usb: phy: phy-msm-usb: Remove redundant extcon register/unregister drivers/usb/phy/Kconfig | 6 +-- drivers/usb/phy/phy-msm-usb.c | 85 ++++++++--------------------------- drivers/usb/phy/phy-qcom-8x16-usb.c | 20 +++------ drivers/usb/phy/phy.c | 57 +++++++++++++++++++++++ include/linux/usb/phy.h | 7 +++ 5 files changed, 90 insertions(+), 85 deletions(-) -- 1.7.9.5