From patchwork Sat Jan 20 03:20:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 10176247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C21E1601C2 for ; Sat, 20 Jan 2018 03:24:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B908F26E1A for ; Sat, 20 Jan 2018 03:24:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACA5A28795; Sat, 20 Jan 2018 03:24:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3D86D26E1A for ; Sat, 20 Jan 2018 03:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=inVUlzWf5aqEgtjyVRNeq5/0OBp4wbkpXgu2hpZKThk=; b=Yt8Zd6yw4a+hbvtW858tEiaEhb eXJ/7ZE/npHaC2rvX2aS1/011MLaKY1WvNZ+oM4b3bQjLNqxjwfUEFS6SGTEwgcrLmPX4w+QxG2BQ XmTRivID2QQzoE7e62TQfDlPL8a4hwqXFK9WzhTraR6xICYKnAfcBnS00caPDajtcyuun3kBsVb3F iHybhbgBHg4TjwEIJdOQWjw4Un7/3mBOz+E/uStZTaNRKXETqdIPmytBL1SUlBA2LNSKv+oQogVZw 1dtyE8gGJauvW/LaE5ZHg1yAPgfwC0a0sulNC3kf2W6vArvnw8tbuvndyUtDKQ8HQJLC9EIokHt4x 3xwWO9LQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ecjl7-00080w-Mc; Sat, 20 Jan 2018 03:23:57 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecjkL-0007FV-KB for linux-arm-kernel@bombadil.infradead.org; Sat, 20 Jan 2018 03:23:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F1kZ2yBGoZLqoQ1uV6GP8I78UTWSSXugJcte7pYzs1U=; b=fB/uaKqQIxny2AvhRxkq18W4E wv7vNgzv4VrSRymuOYeLCJX2C+19w6VjH3op1QAR0uS1geQ4Efvdk6dLKeLFu+1jd/hRU4O2sSFIq DJF4mfZSYC/tOJNZKxvv9TQ8Qh45kGHgBpb6bD8vacOKHydZHeLWM0Dt+clsujGYjVprZI3rFcmvI ctm/ucpvr+txgLbbGD9cEfRQx7wsVivRUjbdRw23TYcJy3w7QBD84wuj7ksFHFA482b/0ZqZx7M0n VIv7nwyJIMhqSkaULoU18P96gtkQchoLYjrdszfau5Sys4jkpSvd2IUQBG4+gS07vnXQBbvFLofX+ mpiLp5Yzg==; Received: from vern.gendns.com ([206.190.152.46]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecjkD-0002gD-1l for linux-arm-kernel@lists.infradead.org; Sat, 20 Jan 2018 03:23:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F1kZ2yBGoZLqoQ1uV6GP8I78UTWSSXugJcte7pYzs1U=; b=EiWTGotOsnpI2cyo3xQMgNmao m/zsrr8nQMVXERtX3BHblx851b8xnNBrF4YKeaVeN2sRLDvp4RdRCLXY7OW4BZUY30mMcV+Lk3V8L YyVupHJWO30MrAPj4vMh3CYU4hZWol27iRSTkiGlYxAyDutYnjuCjaKO/3hO2ZViMBc8Ri7hasnQ8 uF8Hr7XQkCFBj1g3Tff2m7BrtdLFXDfWMPdPpADF8TMcJ5+hbOIoEIPURUtNk0s48piaqEHnkfDAZ rDp30zMhq1lQPRxd9A8f522s1PLMdR+hErLjcxCdT7EgoksykGDgf9OHAAZ9WwyBTM6d9FoacSi8H eCvFJGCKQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:44372 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1ecji8-002FtH-3J; Fri, 19 Jan 2018 22:20:52 -0500 From: David Lechner To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] phy: da8xx-usb: drop use of syscon_regmap_lookup_by_pdevname() Date: Fri, 19 Jan 2018 21:20:24 -0600 Message-Id: <1516418424-28686-7-git-send-email-david@lechnology.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516418424-28686-1-git-send-email-david@lechnology.com> References: <1516418424-28686-1-git-send-email-david@lechnology.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180120_032301_359790_104A70D2 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Lechner , Arnd Bergmann , Kevin Hilman , Adam Ford , Sekhar Nori , linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Bartosz Golaszewski , Lee Jones MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This drops the use of syscon_regmap_lookup_by_pdevname() from the DA8XX USB PHY driver. There are no longer any boards that register a syscon platform device, so it is no longer needed. Signed-off-by: David Lechner --- drivers/phy/ti/phy-da8xx-usb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/phy/ti/phy-da8xx-usb.c b/drivers/phy/ti/phy-da8xx-usb.c index 4daa905..76f4fe9 100644 --- a/drivers/phy/ti/phy-da8xx-usb.c +++ b/drivers/phy/ti/phy-da8xx-usb.c @@ -153,8 +153,6 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev) return -ENOMEM; d_phy->regmap = syscon_regmap_lookup_by_compatible("ti,da830-cfgchip"); - if (IS_ERR(d_phy->regmap)) - d_phy->regmap = syscon_regmap_lookup_by_pdevname("syscon"); if (IS_ERR(d_phy->regmap)) { dev_err(dev, "Failed to get syscon\n"); return PTR_ERR(d_phy->regmap);