Message ID | 20180308191205.26943-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 801236016D for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 8 Mar 2018 19:28:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D17A29AF1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 8 Mar 2018 19:28:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6120B29AF3; Thu, 8 Mar 2018 19:28:55 +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 EDBFB29AF1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 8 Mar 2018 19:28: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=EZTbUm15YlYV/3U7DrlHQCVhMh bf3UCVX7Oqe8j7Bljx94snJ7jLxRtJVBUd/uGtC5NaGkL527Onjo6zdxCtPDoJjLbKU8T3DtTHnH8 uTJdikeArn5vLuf5hbZribr0ksB+CPnumqYq355ZE8ZVHlBwXF8FExF3+3gTdSubafHfoAHVF40L0 uVaYYy3aSoUtlhcflOsNMm5+MbhPOSaDA73XKMIwfYMMp3FnQg9B8dE17ohMMuYJColkw6aiTHANd wTN95cZLWbi6s6NnQRuN4MlIFs63BSPVbM6niORBlWc6Zl6Rz+jMBrCrONlAwDBOjgse9HOcJbhwz XPknIY8w==; 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 1eu1Db-0006GK-MZ; Thu, 08 Mar 2018 19:28:47 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eu0yN-00026K-AC; Thu, 08 Mar 2018 19:13:24 +0000 Received: by mail-pf0-x242.google.com with SMTP id z10so274778pfh.13; Thu, 08 Mar 2018 11:12:53 -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=exTn5jl94ieBNc+dWgIgkJJZJ2zZmllqZD+uWfN2+67IoF5aEgsaejo518KkUzCbK2 57eyBf0M6BvJaTC/Jp11VQPjuVRrvP9AU0j4jLcCPNmP9VjymfN23Txz8qKSvzsIkcKR xNkcDU1mI6hZTbMZeosE6i9au/zB1E61fbsV7NNXyMH6ZAKDsPL28Znb0E7SPHxHRlsd O1/Hr1duxEtd64JdbDHhO8d3Q1YTelNGLB5H0m6d037hKhVOQdg9p+brDuYJuwAGq5Gw 4k6pmHPeMJiRMei3c2asTVz6fWmhjHoNa4X9xA0vbMbT1Db3OfmhAd+oorCFlXEbqR0J 73+w== 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=MKz0GjMkA9w8+XoMrcLyfJSPQBkuXMamzG6ZUN+ptz3126cflYMXYUvm3FlQJLLmGD ScuYZ3X5R1dzpoaZNV7S7vgwp/Z5MncGmu5PSJLsCyT9tkHe+vsDQELjjS7gkwYh2tyW xuQ8CksW1dnxFILYx0JOTprrdk9Goa/U3DfcqLOZRG7YZFfCYN002KttLsPlBaV1FZCc e6/7nG0C2OOlCg+CAxx1yqmuD41nnyMNDmC6m0E/FY4glZ+wD6dwo1qV5wJWo1vioxN3 80GsazFJMvEhq31GBTyE71MYf9x9O3Rv65mUmwACcG1fyW5CKuh+oiIpHncUvPMHRxLq KItA== X-Gm-Message-State: APf1xPCmf4Mf7QReY6RWuGaEoFWFSqx+58ZTxbnJl7y3sZceGg4TA185 6xC8L2gVsDxKiaGOHLjs60Q= X-Google-Smtp-Source: AG47ELsiIkx+Hzekoh/zzuOIwcTkQtLUjH4G2xmfZvUjm/wiElPm9338YhFNvLt2ZmZ1KGelp1sG7w== X-Received: by 10.98.77.194 with SMTP id a185mr27375124pfb.123.1520536372407; Thu, 08 Mar 2018 11:12:52 -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 j64sm47201768pfe.68.2018.03.08.11.12.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 11:12:51 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v5 21/21] nvmem: bcm-ocotp: Do not use "&pdev->dev" explicitly Date: Thu, 8 Mar 2018 11:12:05 -0800 Message-Id: <20180308191205.26943-22-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180308191205.26943-1-andrew.smirnov@gmail.com> References: <20180308191205.26943-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_111304_283154_C686BC39 X-CRM114-Status: GOOD ( 10.39 ) 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(-)