Message ID | 20180228144106.16363-22-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 24D0B60365 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 28 Feb 2018 14:55:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1664028CDC for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 28 Feb 2018 14:55:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B27728CEB; Wed, 28 Feb 2018 14:55:33 +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 948AE28CDC for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 28 Feb 2018 14:55:32 +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=+w/WB0lIsurPqNq4h76Y/Q7pMD8NMKGRVLaCpJmCm/A=; b=GLxDHQYg7vt9oqMjprtcYWZt9m 7tO67R7NdntNVN3vakQkFFmE5N0pXT/110Sa1YMFB/p97VNe3jA8DbUjD/AFJbdoIJx4+XJEqWmJo OEEspxOUXI+3hBypxE7PDvrGtNKTtPYFjsfyN+t74n8aMFNa8FYrZP5de28JtvYXwv1HWyEU2Cg2A s/XxfLcBvy5c6oBsHmFAcXC83I6PBsGjK15i18ksuXP/1p2egGQbUJTeOvMmG2MSTILKMcrmeieIY QcQFSVa7mFH6nlGblowLgbZ5y3i9KwQ9QdBvdOJGVFi8XhZO6AeCZBiXFkSFEsaFgV3CwXkm/SqPu 9bb64Kqg==; 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 1er38j-0003uJ-CV; Wed, 28 Feb 2018 14:55:29 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1er2vh-0000Jl-1v; Wed, 28 Feb 2018 14:42:19 +0000 Received: by mail-pf0-x243.google.com with SMTP id a16so1063386pfn.9; Wed, 28 Feb 2018 06:41:54 -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=GGXmOPYlMl/fcwukF5LQRY69vA18F+QUnc+7LSdaxbc=; b=OprOUzS+AbyZbLNFwjPX7jUuVRLYvcyTb/gNQIEoofWUI/H2BZPXnZJFMtGC0UpEL1 XB753AgpJkvQJeGIHej4BBI0TtK23lL66+9+YlMRf71k82/zoUXUpA9R2S2XtvlliZEX rG0wWPY7hpCuuhBwU2VKlK16jHAm3KpBTMNKrzxSN2cDN6+z6CfmxYoqPDpcTCQ0C52m RsG/g7dWvJ7Shp2anwwmeZQNtCqMlm1/BqiJwNwiGTulAz9qNssdp/UI1pno45XivRs8 CzUNoBDCIr6fcCluSRnYQ8bJMQps9fAOyV0kqR+nbYy2t0e5yYBAJY6+b9xFrdIYIAf2 X0WQ== 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=GGXmOPYlMl/fcwukF5LQRY69vA18F+QUnc+7LSdaxbc=; b=UZ/3//53W0t50J7oJ4xxP6d13DFO3j0rPYveF3XLTvTRrl2MocHGVn38yyiAxKZo0z 1197a72cW2RHornyO6BcByXvPJFddCWIJUm7iLUZw/SeDHrWLdPDHj31X4j1CV9G60Pm r0x8QEfo2V/TjkBTCG9VfT1fBkwopeNzd9ZToQVR0DeVJqOchjEpoPHPIPtIMu59W5CJ BjMmhgL81YuPoOPXS7LhOOhLQfmnJy5QgJEEr3bFru4JBPQLi53OIEmcv/jPHOA4VcND TfQfn1LHAwqabIkOlUSho6A7HkM9ZC6ZiMROWFIPoD+RocHIfzfY4vt3Dj3f2t4kXieQ Bd1g== X-Gm-Message-State: APf1xPBUUUv/UB+VuJUpAC4sajfQ7ifqrI7J1Cxrc87OdE5CLfCk0EK8 /9dFFhrdZvP/4E5ecOXeq1I= X-Google-Smtp-Source: AH8x227SAE8ZGF17qgATtwQEdKwIqoobRdEsS+By7tYNSeJw2vmfzGO6l6rBMd3bzsqsoHTiy/BArg== X-Received: by 10.101.91.78 with SMTP id y14mr14482918pgr.243.1519828913718; Wed, 28 Feb 2018 06:41:53 -0800 (PST) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id h9sm3674312pgr.78.2018.02.28.06.41.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 06:41:52 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v4 21/22] nvmem: imx-iim: Do not use "&pdev->dev" explicitly Date: Wed, 28 Feb 2018 06:41:05 -0800 Message-Id: <20180228144106.16363-22-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180228144106.16363-1-andrew.smirnov@gmail.com> References: <20180228144106.16363-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180228_064201_786772_7B5FDB62 X-CRM114-Status: GOOD ( 10.87 ) 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 635561a441bd..3022bd96bd7e 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(-)