Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752541AbbDAUsd (ORCPT ); Wed, 1 Apr 2015 16:48:33 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:56733 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874AbbDAUs3 (ORCPT ); Wed, 1 Apr 2015 16:48:29 -0400 X-IronPort-AV: E=Sophos;i="5.11,506,1422950400"; d="scan'208";a="60988256" 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 v1 0/3] Add devm_of_phy_get_by_index and update platform drivers Date: Wed, 1 Apr 2015 13:49:06 -0700 Message-ID: <1427921349-18173-1-git-send-email-arun.ramamurthy@broadcom.com> X-Mailer: git-send-email 2.3.4 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 Content-Length: 1061 Lines: 29 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. History: v1: - Removed null pointers on Dmitry's suggestion - Improved documentation in commit messages - Exported new phy api 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 | 32 ++++++++++++++++++ drivers/usb/host/ehci-platform.c | 70 ++++++++++++++-------------------------- drivers/usb/host/ohci-platform.c | 70 ++++++++++++++-------------------------- include/linux/phy/phy.h | 2 ++ 4 files changed, 84 insertions(+), 90 deletions(-) -- 2.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/