Message ID | 20180101232310.30420-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 DC42A601A1 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CED0828717 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3B0A2872D; Mon, 1 Jan 2018 23:37:53 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 7C38028717 for <patchwork-linux-amlogic@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:53 +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=WDhT9w1E5kzf8+Qrc49F6LxKuRosL3Ojx0bK4hg7BS0=; b=T6M2g4kkmGEQ+1BDuh9uBwFaSx oaHRdfEBbis4UHhNbdyA3OH2qU/rCRR7uVLrfh/laBV1HBlMSXsoF7JNHeL5S9BvGNtQ3/SKeKgbe hmhU5368A6CQODGUefhhV6P+9dwX3v9t6WmokH0V3b2bOfmrSlKfx/TS6SGs3uHFAw5IXs7xmBO04 CweF5n+l06nZoNDzQiq5tHYKbUUO++dpO4W00fxPO/yO5ONYBeDW2Xr6sTGsrJ2pWtRUl6rkhVMjo FhKcJiDv7nr+ZfyQTzgrVXlvQg3ZJsgKeVBi+nvYVKdvC0CKvNLdPhFkiy8vZ2qoiMo0Jv2AFqQ5e jsn7MNmw==; 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 1eW9eJ-0002wP-F5; Mon, 01 Jan 2018 23:37:43 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eW9RS-0007fy-62; Mon, 01 Jan 2018 23:25:00 +0000 Received: by mail-pl0-x241.google.com with SMTP id i6so27561345plt.13; Mon, 01 Jan 2018 15:24:16 -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=ORNQvYvIpVmdC8lY6mQXCYD6c8M1c2Pb2+T6wXPZkXc=; b=ZuQ7WNPs3iLjZ8LhiE6veRr8N4y5rn2izGyy+kieQiFBJiPHIBnuQ6dSwn4UL0og+F 8sUkNDA02uY4fMD1IanW3Sr2Cilu9vwp8gXh803ZFxv7HoH8qTRMsrPpJM34qDzsvx3L KrwE9V0S46fqSo6GxyOUFd/6Vd9jxQeochuGD88n/1KtLQsQ3T330zEqJ1hJhcBMEEmG P6bpPO1CPDPgWVOOIBpeQsTJcun5TeheGlV+JXLnS675i6kyAGXanarZtrJw79sjfUBm GtyqIcmlcBOR1xZFU2DxX2Ok5ADg2Qy1bywoNlWVFSOpcCk2ID/24muRiPJ5a6VLluJP serg== 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=ORNQvYvIpVmdC8lY6mQXCYD6c8M1c2Pb2+T6wXPZkXc=; b=o9xjQQFjYdht3i17dQkPl4rifm41fE0Co4AxNN0U/cridHqoCtgkLtptVdMB4jSyZt EULbu47GP6rXB92SB759OZVutV6GO+5sCx7Dqpko7fNQttzcLAWsFUh2mbZRfiqA5XCb YNrbOswiuFlNdSI9UwnT30fSIxt7wdcgmBGN6zgFO328BjwBRmo9BVICcONA4xFLcU4D MXFfowBaDDDUi1Ar3szVumthWRXaPKJkbtp3IcgVMujvl2Bua+PHaXCkPxlKeFH2hkAK rr3n01dsUTTUj9qF8mMAoaA523a8PmPZRO5XFCFbnv2Z9i9++ZnRyQKrq2mV6PQwo0BM PukA== X-Gm-Message-State: AKGB3mIEddQJSmoej341FZIG3QfYt2GOM8S5CkN8Tal3IbT/XFntcAj3 78iUQaE7LF90i2akkBViPJw= X-Google-Smtp-Source: ACJfBovbLI2toU6sUKu8uv6XlPww3uynIF1n2K8oFlc824Uf0AJsFIFHwGD5A7Rt6sqUcsuWHcoZBw== X-Received: by 10.84.178.129 with SMTP id z1mr44708673plb.365.1514849055349; Mon, 01 Jan 2018 15:24:15 -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 t75sm90857156pfi.146.2018.01.01.15.24.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jan 2018 15:24:14 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v2 21/21] nvmem: bcm-ocotp: Do not use "&pdev->dev" explicitly Date: Mon, 1 Jan 2018 15:23:10 -0800 Message-Id: <20180101232310.30420-22-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180101232310.30420-1-andrew.smirnov@gmail.com> References: <20180101232310.30420-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180101_152427_134755_C53C9C8C X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. 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/bcm-ocotp.c b/drivers/nvmem/bcm-ocotp.c index 24c30fa475cc..4159b3f41d79 100644 --- a/drivers/nvmem/bcm-ocotp.c +++ b/drivers/nvmem/bcm-ocotp.c @@ -262,8 +262,7 @@ static int bcm_otpc_probe(struct platform_device *pdev) else if (of_device_is_compatible(dev->of_node, "brcm,ocotp-v2")) priv->map = &otp_map_v2; else { - dev_err(&pdev->dev, - "%s otpc config map not defined\n", __func__); + dev_err(dev, "%s otpc config map not defined\n", __func__); return -EINVAL; }
There's "dev" variable for this already. 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/bcm-ocotp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)