Message ID | 20180308191205.26943-21-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> 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 106686037E for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 8 Mar 2018 19:24:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0009829AD6 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 8 Mar 2018 19:24:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E85A329AF3; Thu, 8 Mar 2018 19:24:30 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 97AAB29AD6 for <patchwork-linux-amlogic@patchwork.kernel.org>; Thu, 8 Mar 2018 19:24:30 +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=EFcGeq+dQs33M0eI6LmzqH6ClB+4Yg3p+uv6Oeh0L+U=; b=L1ilTTEUI922qp5jhshx+f4Ltm umfk1BbSjYKMSeUzHo9e+lIt/Syg0/AES1STCe3KtM/RRqmBgDSy+Bz8B6ONoUA5xC78+GVgFDHH1 sqX8RnGUTPDO3H+cLLWljsEyH+XyKZPKW8izGS1vg7JhEQhWWr1jmfFxXauCqfRdlTumJMiI92a3a O4bBMYJEQjno4QSVZge14WoVGc9ds/isQaSOPazulVBHrSZRxP5TjIh1WW+E/hIff9ECqOJZowKic dcjKjqsWfBKAZmXoemtNtxkFiG+7sCvdbbp3x+IZ1zGnOqEGfnWio8Diaeze7tWOVTLVXGeAy29Pd gjJ/EFfg==; 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 1eu19O-0002lK-Uk; Thu, 08 Mar 2018 19:24:26 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eu0yC-00025C-7s; Thu, 08 Mar 2018 19:13:10 +0000 Received: by mail-pf0-x242.google.com with SMTP id 17so278244pfw.11; Thu, 08 Mar 2018 11:12:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cEno+3RMAaquvDSxsuEQDafGzIu6LOAI4hY37abnAuU=; b=PnNsWwKuQUFibqiAeG642BnV44ir05MJ9YtZ/1ypnHh9R0Qt2zC9NkyKkd7ZAaTRD4 9uaMCkKH/qS0ODNIFLBqlvVOPxdk6ME1VHo7NW9O+ZNqUGwFDTAr+t6c6xU4GEmJCjgh 6PjxsUy3Ynz54ZMsfjyRXYdEf/zoKdM0/8T9m9rp0W3dAHsCO7VTHEayE3xt1XZZ/gZT eMuGQvrlslX1XVJt5BbtYEi+5IXbfDlc7Ed6Xg/ymzKbaGbrwX82nNLw2HmJS3KAr57r XXSH3nX81+0g6exrioRR3PAviPPUYtEp96efQ6hlw3clqsI9bZ8aQ1sw6gfCmCKCk22A J0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cEno+3RMAaquvDSxsuEQDafGzIu6LOAI4hY37abnAuU=; b=OJ0wTqfbAIafenWYyo6R2SHmmv5l10jOmGMUg+7jMZV4EoOA9KIed1CnNLx2Dx3yYu QfGOO9nbbvkkNSbLiKs1otDM5B6h2KiWdMbzsXQ4wrbbZm7DMdGshtEC7AqfJkupK0US 52ArMVAHjK1eetMznQFkF9H60ELbl5C02XvS9a/OK55HYOQS8MRzEpVvzd4msYoA5X24 cSCQthLCFU9wpvrX0uII0ls0IqKIKaOn2oZXk000CkWvL3GrL8S+ZKng23zth1R1WnLq YACBr7FSkFBuDndUldxG8BBGLu/cxVbLMyHwQP5nGWuGDWR1NN3Nwg776jyTspQyIrrN fg4A== X-Gm-Message-State: APf1xPAxJsOf5lKJNA9adamZlj3pmzmjKuldWQpsPihvLC0OB5rtckK6 nT2wpSBW7nXOL0zaHvQ5tM0= X-Google-Smtp-Source: AG47ELuy5E8HTEpVrVzArjLzAbqfNdrEju+o4FsmDcZCYMPTMFxaVVSDmXg3y249EjE4IEb6iBCmMg== X-Received: by 10.98.141.205 with SMTP id p74mr27227710pfk.211.1520536370692; Thu, 08 Mar 2018 11:12:50 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id j64sm47201768pfe.68.2018.03.08.11.12.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 11:12:49 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v5 20/21] nvmem: imx-iim: Do not use "&pdev->dev" explicitly Date: Thu, 8 Mar 2018 11:12:04 -0800 Message-Id: <20180308191205.26943-21-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180308191205.26943-1-andrew.smirnov@gmail.com> References: <20180308191205.26943-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_111252_872392_8C68005B X-CRM114-Status: GOOD ( 10.70 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: Heiko Stuebner <heiko@sntech.de>, linux-rockchip@lists.infradead.org, Andrey Smirnov <andrew.smirnov@gmail.com>, Kevin Hilman <khilman@baylibre.com>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger <matthias.bgg@gmail.com>, linux-amlogic@lists.infradead.org, Carlo Caione <carlo@caione.org>, cphealy@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/nvmem/imx-iim.c b/drivers/nvmem/imx-iim.c index b98d76ac7790..6651e4cdc002 100644 --- a/drivers/nvmem/imx-iim.c +++ b/drivers/nvmem/imx-iim.c @@ -125,7 +125,7 @@ static int imx_iim_probe(struct platform_device *pdev) drvdata = of_id->data; - iim->clk = devm_clk_get(&pdev->dev, NULL); + iim->clk = devm_clk_get(dev, NULL); if (IS_ERR(iim->clk)) return PTR_ERR(iim->clk);
There's already "dev" variable for that. Use it. Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Carlo Caione <carlo@caione.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: cphealy@gmail.com Cc: linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- drivers/nvmem/imx-iim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)