Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753150AbcKEFWg (ORCPT ); Sat, 5 Nov 2016 01:22:36 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:37260 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbcKEFWf (ORCPT ); Sat, 5 Nov 2016 01:22:35 -0400 Subject: Re: [PATCH v2 2/3] phy: da8xx-usb: rename the ohci device to ohci-da8xx To: Axel Haslam , , , , References: <20161103160308.29588-1-ahaslam@baylibre.com> <20161103160308.29588-3-ahaslam@baylibre.com> CC: , , From: Kishon Vijay Abraham I Message-ID: Date: Sat, 5 Nov 2016 10:51:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161103160308.29588-3-ahaslam@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 39 On Thursday 03 November 2016 09:33 PM, Axel Haslam wrote: > The ohci device name has changed in the board configuraion files, > hence, change the phy lookup table to match the new name. > > Signed-off-by: Axel Haslam merged, thanks. -Kishon > --- > drivers/phy/phy-da8xx-usb.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/phy/phy-da8xx-usb.c b/drivers/phy/phy-da8xx-usb.c > index 32ae78c..c85fb0b 100644 > --- a/drivers/phy/phy-da8xx-usb.c > +++ b/drivers/phy/phy-da8xx-usb.c > @@ -198,7 +198,8 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev) > } else { > int ret; > > - ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0"); > + ret = phy_create_lookup(d_phy->usb11_phy, "usb-phy", > + "ohci-da8xx"); > if (ret) > dev_warn(dev, "Failed to create usb11 phy lookup\n"); > ret = phy_create_lookup(d_phy->usb20_phy, "usb-phy", > @@ -216,7 +217,7 @@ static int da8xx_usb_phy_remove(struct platform_device *pdev) > > if (!pdev->dev.of_node) { > phy_remove_lookup(d_phy->usb20_phy, "usb-phy", "musb-da8xx"); > - phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci.0"); > + phy_remove_lookup(d_phy->usb11_phy, "usb-phy", "ohci-da8xx"); > } > > return 0; >