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: 10270881 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 76D0A60594 for ; Fri, 9 Mar 2018 15:07:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64DC229E52 for ; Fri, 9 Mar 2018 15:07:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 598C729E53; Fri, 9 Mar 2018 15:07:15 +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 0807A29E51 for ; Fri, 9 Mar 2018 15:07:14 +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=dYoD7P/+prY2VZrZ3stWdBUrhGAEorye/M737JNlyYU=; b=BPCqyu71ib8YEECr12rTQCPmTW EZDhDI4YcSPiuApOdvU80z1g/ZOsbE7kMDenq+4idVIj73bEF78y18HDuwYVk1nbfonjNrtRYRYZD GOQjjN0eQKlVTpVbgsIZCxFJMJassDp49ePI6Rv1OvhrIMzZ0OOSKmnt7qgoZ0tN/ayvgY9Nj8he7 xtCHQ1ZgAwf5J4ZpQl8wKVfIIIJ5xuQDDktd+7/6GoECd9Uv7fpnpc0z9x+AT1gJy+5hQK20MWeIT AoQezJaNA4GejrluoJDtvht0IgOPJqOdozroCGeTL5Fnml3IQ+bZTK5boBquCyL2jk2xo5pvtgeu3 F2HLkDqQ==; 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 1euJbs-0002jm-Ob; Fri, 09 Mar 2018 15:07:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euJbO-0002HJ-Hv for linux-arm-kernel@bombadil.infradead.org; Fri, 09 Mar 2018 15:06:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=l9nZCCAVM1Rm7EuPYppwHmZpGtMEgQGRKkW0EU0xWNE=; b=has9DlSz3DAo5ivWKuQ3BP0n9 HqS46uhp6g/XO6Epd/fpvngW9epl+2TtltKs3hFTB8H+vz+LOfjwxeawGfS0JnWU5EIYHE+AOBQou Vz7oPaJb0yPBrpsOkV8Xoz+QSRXULUApo4I4BXOFPZv+xT8tD5GGogDQWu1y29FhHaJoNPZ8BdEcz aE4RvMJB1k6EWCL8yz42V8OU1ut1Sah12oc4sH8AQ51tsw//BN5269s37/EozX10Vpfy4INYIjtiP MTLBKfPvecrpwIp01sMn03gqIxf7iYLucDy8/rNMs8rfjJ9Sc6OZJtUpleSxlsmoD+zM8OrpQRtdv E6/3kgqsQ==; Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euJMK-0005dt-0Y for linux-arm-kernel@lists.infradead.org; Fri, 09 Mar 2018 14:51:03 +0000 Received: by mail-wr0-x244.google.com with SMTP id k9so9260778wre.9 for ; Fri, 09 Mar 2018 06:50:49 -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=LD74DHCEIm6eI32AEvEzNZvpOw16CovBLT+6TKgQrLokJPr78I/IMZsjwpxU0BJ0Uv ctX0jB9T0nwHJdsEv54E+n9Tvh4ecQ+S3yei0YfHAhEbg46CPP0SdEFUHjdXyTS7a8Rj hSl6t4xWRgKhpkiQophINO4d6E/qwm+aKYOet/IN1orG1XyiZ69s5f46GP7sUB5yVHYt 6p3nJkSTIEntbtaJ825O7Csn1uJeP7TuSUpeAFsmRRKyNdwgZWDIGlhI87WlXVjrMv0R AjwWUB/VM+5AWLqvZkCnHGFK/Y3dleEFUurRoomwRh/lV8oN4Sk+Mq8k/bSdQjvykkpZ R45A== X-Gm-Message-State: APf1xPAUOYLeKAL45Lo1nxPb7kowu0ncljvqbBsv3YMbUmFOFV+NppxH H6lx0vR3+jEyt/0l48rWZTFFhevFBBI= 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_145100_054229_C37596D4 X-CRM114-Status: GOOD ( 14.64 ) 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: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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);