From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751794AbbCTVG6 (ORCPT ); Fri, 20 Mar 2015 17:06:58 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:5806 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbbCTVG5 (ORCPT ); Fri, 20 Mar 2015 17:06:57 -0400 X-IronPort-AV: E=Sophos;i="5.11,438,1422950400"; d="scan'208";a="59879955" From: Arun Ramamurthy To: Kishon Vijay Abraham I , Tony Prisk , Alan Stern , "Greg Kroah-Hartman" , Arnd Bergmann CC: , , , Dmitry Torokhov , "Anatol Pomazau" , Jonathan Richardson , Scott Branden , Ray Jui , , Arun Ramamurthy Subject: [PATCH 0/3] Add devm_of_phy_get_by_index and update platform drivers Date: Fri, 20 Mar 2015 14:07:07 -0700 Message-ID: <1426885630-32429-1-git-send-email-arun.ramamurthy@broadcom.com> X-Mailer: git-send-email 2.3.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds a new API to get phy by index when multiple phys are present. This patch is based on discussion with Arnd Bergmann about dt bindings for multiple phys. Arun Ramamurthy (3): phy: core: Add devm_of_phy_get_by_index to phy-core usb: ehci-platform: Use devm_of_phy_get_by_index usb: ohci-platform: Use devm_of_phy_get_by_index drivers/phy/phy-core.c | 30 ++++++++++++++++++++++++++++++ drivers/usb/host/ehci-platform.c | 20 ++++---------------- drivers/usb/host/ohci-platform.c | 20 ++++---------------- include/linux/phy/phy.h | 2 ++ 4 files changed, 40 insertions(+), 32 deletions(-) -- 2.3.2