From patchwork Fri Mar 9 14:47:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10270843 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 8487F60236 for ; Fri, 9 Mar 2018 14:58:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 748B329E4B for ; Fri, 9 Mar 2018 14:58:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6980B29E4E; Fri, 9 Mar 2018 14:58:17 +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=unavailable 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 19FA229E4B for ; Fri, 9 Mar 2018 14:58:17 +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=9XOPno0gkKj7aTuKdV1drYmIl74pmSwMrYU6GCf88YQ=; b=d/VO4VhZSOidsk+177ew7dc0a0 yMgqWGprw5mq2g5rx1LR+RMvRPh6Izw+RMW9D65LKHXqwS9DcIUR72OR9aAOA0ZO1kUrufy6e8vs/ h6eqY++kAJQzab46G3lsa6WH4ZcOUgzZKETGRVsgf87A9fjkwp2WTjtJngxdP+RPTDIXWr+mKfXW/ FGI8CuJ9AQUfrY3W8zawT5OoZLnp+BM6pQQsZcvgPXb8JFIIRUD/hUScMwOGxrTVyGqOWtGfYPAbR H5shWfJ1EujQzhG+C6E82mmHDzfB5h8hQqeuuQdVvTsl5Bj1I492fpiweIScr+dmECsgFeEK4pQFl eaO2pCFw==; 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 1euJTI-0005dW-Io; Fri, 09 Mar 2018 14:58:12 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euJRk-0004Zs-4M for linux-rockchip@lists.infradead.org; Fri, 09 Mar 2018 14:56:48 +0000 Received: by mail-wr0-x242.google.com with SMTP id k9so9278215wre.9 for ; Fri, 09 Mar 2018 06:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l9nZCCAVM1Rm7EuPYppwHmZpGtMEgQGRKkW0EU0xWNE=; b=O+80t8EcpatgLQOe6Ctg40opt3h8EWGuM+n7tJQ23Q7QeT9ASbZ3l2I19BdvY/0ktd bQ9s1OI8VewEmpOPEZmHy51YgDdbdkopl45U83z+4KcZiBrB2rEEzEiKQzbb89NQOBdU 3lrcFMeJKVaX4udK/FozOCPX99EhWWE9Og80o= 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=l9nZCCAVM1Rm7EuPYppwHmZpGtMEgQGRKkW0EU0xWNE=; b=hyzu3kA0n9bWJEpO5e2EHYYA1yv06ErKsjmtj8ip7qu28L9L87kWy/XlpuBhtoX2dW 4inV7uHc0B86eNiA9+MBugSYEU7d95stOChUSKspDNjQnYqXZ34RuoOeqfWeM495wuPp 6cIGeiOIM+9xW7bfxfkExJWPUiWVa4MlwkCjLNj29aBYT0OJiCEzBGym+hBgsULP0PJU 3rtiWUvq0hkcW1TT6GbT7sjnHhKRBbjN/ZqsdmcuPqvguzOYDyqAXzHPJXxj/8pGgE8I FGnpb50I/Pw3WguQ5pDjQSmmiSTyXisIroo6vVz/kzdWRN3M4b53nUYwuw08KwJjibnL 5Xeg== X-Gm-Message-State: APf1xPA5DmNRSt3Er94RU0ZU/OgsT1rzwI30oKAw/AUvdJs9UduXX97D 7HGf2wVb59Y0SrXhFQ5f1VXM3Q== X-Google-Smtp-Source: AG47ELs+lxkUsLS5xTLk2qW9T3F+USCG5SGQOnPYdvzLM8X0QUK1Q0tUGMn5HWJKeG8YfYNgyTsL6A== X-Received: by 10.223.155.142 with SMTP id d14mr27164104wrc.93.1520607048968; Fri, 09 Mar 2018 06:50:48 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id u48sm1191901wrb.85.2018.03.09.06.50.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 06:50:48 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Subject: [PATCH 20/25] nvmem: imx-iim: Do not use "&pdev->dev" explicitly Date: Fri, 9 Mar 2018 14:47:14 +0000 Message-Id: <20180309144719.29904-21-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180309144719.29904-1-srinivas.kandagatla@linaro.org> References: <20180309144719.29904-1-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_065636_804928_08635332 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , linux-rockchip@lists.infradead.org, Andrey Smirnov , Kevin Hilman , linux-kernel@vger.kernel.org, Masahiro Yamada , srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Carlo Caione , linux-mediatek@lists.infradead.org, cphealy@gmail.com, Matthias Brugger MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andrey Smirnov There's already "dev" variable for that. Use it. Cc: Srinivas Kandagatla Cc: Heiko Stuebner Cc: Masahiro Yamada Cc: Carlo Caione Cc: Kevin Hilman Cc: Matthias Brugger 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 Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-iim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);