From patchwork Sun Jan 7 03:19:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 10148107 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 E475D602CA for ; Sun, 7 Jan 2018 03:20:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA7FE288BB for ; Sun, 7 Jan 2018 03:20:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEF1A28929; Sun, 7 Jan 2018 03:20:53 +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 6AB52288BB for ; Sun, 7 Jan 2018 03:20:53 +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=DFC7x+mibagwp33U9ho0fVk5nPGzgu7gtUHUu3YFs5Q=; b=Q2W56i72NNgwHt7h7PzVK9b1xI WMixTEQFgpatdlLirH1kizhvlN5LcA1/RsiLVwNe+F/i3mMrmo+bPC1NHU6poO4gUjvOb7D1HUy6T k5UX0haoV7Q0WoaMHPyelyvJf01y+mCa22SamyFkixyU1h6zjJ9pkOdb5/NBDGl8BgdrxJL/YIqQL caBO5Psh+kXonkb++WVvJy/SoR2gC1sjxVAIlE9IQxhqeyhoi8RbJAnE1EzMH7sfkG+3G8qOK4bMe rCJJnaO25jkdb74481p2LEPaqOLj/QpySaRX05ateIyJ2qmJyGR7SzYeIiM9TKfbt4SM1ibdix7NJ um4OlJfQ==; 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 1eY1Vt-0004Q9-VV; Sun, 07 Jan 2018 03:20:46 +0000 Received: from vern.gendns.com ([206.190.152.46]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eY1VM-0003Mf-LW for linux-arm-kernel@lists.infradead.org; Sun, 07 Jan 2018 03:20:14 +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=i4shuXCCSBluDvJEqsVZYvGkhyb1GIMQ1G2svqfwqps=; b=szt5Z4rZPzkVO4NOyVVXB7SlR B4gTpvls68/eQXoBHZ7KXhDYdhsAAVXbliXBSWiWk27IOAOr4P3NT1zIk8geuGzhTdNw2UbvoPjqM ZTf26Awcyrv6Ji9YLKCbSM46Z/z8Dmg5iKByHgnvyfG9bWtyU5QY8PR1EWJBORajoiQUk+La4twfy CJ4QL5ZfJ7vK9hFgL0Yce5IQ2af5tRQ1GB1CMh/OhyC1SfyvCMZhwvJmFA/0btd6MqYCzYy3JNfeC NoaV5WptMhj55MemxSjKXRk9ONxEk+Fly4LRJgJy2KOvR7E2+Zl/fLKH7ZZMqVbudyuCa7gvfGzW6 1KrJHLZLQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:41834 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.89) (envelope-from ) id 1eY1V6-000ZeS-Nk; Sat, 06 Jan 2018 22:19:56 -0500 From: David Lechner To: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: [PATCH 2/3] USB: ohci: da8xx: remove clk con_id Date: Sat, 6 Jan 2018 21:19:51 -0600 Message-Id: <1515295192-17883-3-git-send-email-david@lechnology.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515295192-17883-1-git-send-email-david@lechnology.com> References: <1515295192-17883-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-20180106_192012_819833_801AF606 X-CRM114-Status: UNSURE ( 7.25 ) 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 , Kevin Hilman , Greg Kroah-Hartman , Sekhar Nori , linux-kernel@vger.kernel.org, Alan Stern , Bin Liu 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 The ohci-da8xx device only has one clock, so a con_id is not needed, so remove it. This way we don't have to add an unnecessary property to the device tree bindings for the clock. Signed-off-by: David Lechner --- drivers/usb/host/ohci-da8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index 0c507a0..a55cbba 100644 --- a/drivers/usb/host/ohci-da8xx.c +++ b/drivers/usb/host/ohci-da8xx.c @@ -413,7 +413,7 @@ static int ohci_da8xx_probe(struct platform_device *pdev) da8xx_ohci = to_da8xx_ohci(hcd); da8xx_ohci->hcd = hcd; - da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, "usb11"); + da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, NULL); if (IS_ERR(da8xx_ohci->usb11_clk)) { error = PTR_ERR(da8xx_ohci->usb11_clk); if (error != -EPROBE_DEFER)