Message ID | 20180101232310.30420-22-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=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 C50EE601A1 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7A7028717 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC7F32872D; Mon, 1 Jan 2018 23:37:54 +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 5C60328717 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 1 Jan 2018 23:37:54 +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=haWQBflBH6ApSbcGelEI2aaJkSUryUAWyAT9GhfMFrc=; b=DBF4zl5fNDCeCe1E8XmDk4m/CB vrUc3k2lP+T5LYNlSDX5SDtAGrTRSVCjf3140GDFEScWNfyjeLVJDjsqGBCyxhYxy698FC9koZdgS m7JdOMW89/6PaoM+1Q4x+fkj+HhjWOxQqcgA7f1GmNj641Gc7uEqc+rzu9mS0zQ8xrBGQziApw49h UYdWw8lDf34gT5aoVNaDJWMdHB+Mqxi4iigI07tnzpIorTNDEXKAnH0kCr5WWk669fAS5lXqilrxJ TloNft324HwwQiqYjhaOGRUJl1BHPrqqi8LspiEhgkaVJIC6/sKD9jOLoHiPJzHq3+l95jtiCnL9O 1kfvwNRg==; 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 1eW9eO-00031g-6H; Mon, 01 Jan 2018 23:37:48 +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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-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-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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(-)