From patchwork Tue Mar 20 16:58:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 10297511 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 C753460349 for ; Tue, 20 Mar 2018 16:58:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B73AA28A1C for ; Tue, 20 Mar 2018 16:58:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC0B328B23; Tue, 20 Mar 2018 16:58:29 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 488AC28A1C for ; Tue, 20 Mar 2018 16:58:29 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Subject:Message-ID:References: In-Reply-To:From:To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YhxtFTnxjxxiP6LltN/udCwXY7tFC6Yt+wuBaWxkVUA=; b=Ss/Z7pXGJdhSy2 7aa4k/2KA8U8r+e943aAKwH+BAoNscZ0GuG1GsQBFBIO+jkqCHwuyTBPEixOkqdDhbq3Pt4JXf9K8 uvxOEBPalyv/BAqWyzYiyWlE85fOQv0SKCM6UTBKowyyzs8MS2XKvR1gk0rjv+0WiNu+Ucxtr22Wq x1YfllNEUzH4IM+EZ8K/CAy6g3vgXzy2DlZElnRD4FRVbeuZrowajH+TYBs6M8HsAVTW1D19sQAzR UVrtnrRFGy5mZqvR4S3dIEueialGZYG3xTLN3imrdyv/MTrsM9xruu5EObaxe8CRHHOdUIP6pP1+x qRRgj8IlewW09uBM78mQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyKac-0001jO-Lp; Tue, 20 Mar 2018 16:58:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyKaY-0001ft-Nt for linux-arm-kernel@lists.infradead.org; Tue, 20 Mar 2018 16:58:19 +0000 Received: from localhost (unknown [104.132.1.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B0BE21770; Tue, 20 Mar 2018 16:58:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B0BE21770 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sboyd@kernel.org MIME-Version: 1.0 To: David Lechner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org From: Stephen Boyd In-Reply-To: <1521168778-27236-14-git-send-email-david@lechnology.com> References: <1521168778-27236-1-git-send-email-david@lechnology.com> <1521168778-27236-14-git-send-email-david@lechnology.com> Message-ID: <152156508760.183971.11983086334390852576@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v8 13/42] clk: davinci: Add platform information for TI DM355 PSC Date: Tue, 20 Mar 2018 09:58:07 -0700 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180320_095818_807399_390893D0 X-CRM114-Status: UNSURE ( 9.31 ) 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: Mark Rutland , David Lechner , Kevin Hilman , Stephen Boyd , Michael Turquette , Sekhar Nori , linux-kernel@vger.kernel.org, Bartosz Golaszewski , Rob Herring , Adam Ford 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 Quoting David Lechner (2018-03-15 19:52:29) > +static int dm355_psc_init(struct device *dev, void __iomem *base) > +{ > + return davinci_psc_register_clocks(base, dm355_psc_info, 42, base); > +} > + Should be dev for that first argument to davinci_psc_register_clocks()? I squashed this in: diff --git a/drivers/clk/davinci/psc-dm355.c b/drivers/clk/davinci/psc-dm355.c index 249a05330457..6995ecea2677 100644 --- a/drivers/clk/davinci/psc-dm355.c +++ b/drivers/clk/davinci/psc-dm355.c @@ -70,7 +70,7 @@ static const struct davinci_lpsc_clk_info dm355_psc_info[] = { static int dm355_psc_init(struct device *dev, void __iomem *base) { - return davinci_psc_register_clocks(base, dm355_psc_info, 42, base); + return davinci_psc_register_clocks(dev, dm355_psc_info, 42, base); } static struct clk_bulk_data dm355_psc_parent_clks[] = {