Message ID | 20180309144719.29904-19-srinivas.kandagatla@linaro.org (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 32D4C60236 for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 9 Mar 2018 14:56:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26F2529E4B for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 9 Mar 2018 14:56:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1BB8A29E4D; Fri, 9 Mar 2018 14:56: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=-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 B739D29E4B for <patchwork-linux-amlogic@patchwork.kernel.org>; Fri, 9 Mar 2018 14:56:52 +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=8XRzEhhY043xzaFPgh1zwwaDj7mQET9vnEAcqkWF8tI=; b=OgVLQ1KXSmONBfiRrSO/CZBy+O ACNiGT7p99NUwcixPX2zHkUiW7Cwe3fMoTyYk2I3Lk7BkCd9SvGd24JmxIZYHf/wEQWo+cdz56M0d qmEk7UmknRGcO0sSIjgBHzIZ5bRP06fMaqKOi85UIHXsE2DJznCCUOLjovy4pgQkNbdLejP3xOmkb xueB7c7/yDxhcjgsK8rSwwGvWz920dd+qHX4YlY7YXr3ojQYKISNlZCW4hz0SLyeByLspl29Xca1J SNCJeD5C/MSIU0HI8VuAvK6SbaiJF+WXsqq0jgdxWjP2FrROiNKYWwcOnzFmYGK31ErMIV4fWIY88 YCc/fK+g==; 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 1euJRx-0004p8-5I; Fri, 09 Mar 2018 14:56:49 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euJRK-0004Lg-5Q for linux-amlogic@lists.infradead.org; Fri, 09 Mar 2018 14:56:29 +0000 Received: by mail-wr0-x244.google.com with SMTP id v111so9301547wrb.3 for <linux-amlogic@lists.infradead.org>; Fri, 09 Mar 2018 06:56:00 -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=GD6bLYBRCS/d7tbmXKvDegmT5vCtX9uh12GfjuFtTG4=; b=HBdnerQAN3IbHLGh1g6kz91f3RZMLDM8IWXFBlgodl6+Syx7SUlngOb08KmYOaxwuY xrzkbK+JHC6YB3XSojlEhJyfH2Fh1cSH6XMTrrDNjDBGVgH7QcUoVDetDyNlmue/vNkH GvixbopwrQLUmo02m7mZnHUv88QFDloOU6scc= 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=GD6bLYBRCS/d7tbmXKvDegmT5vCtX9uh12GfjuFtTG4=; b=Ije+NhWVmV+mU3V1LxcgR5XeuimE2xcV/gAVP5BYMfpa9lI038ddOw70u6bddbt8Vr FKjdcVQmxU9lzlrvOz7i77ofgRBSriWtEJ5SsSV7CWOYPQYtiGxOSe/EgqFVCGXetZX4 yF5zFkXHB+b2lUwQ5LNriqrBdcAVORBhWUt3o2H22JtUo/QVsxWrVzmbObWZkgrszyhr UW23k3SamsiqFfbOIev0HazCjXggc9A7McGDHdW7WP5CH9F9PiPqb6mVwPEOVpR9CqgL lsIYgUauDAiDevUvA2Nv8N8iBfrXuMGKNqtuWPDBDscf+NHHKX3AhT1jmwA8zA5BnhiB D0ug== X-Gm-Message-State: AElRT7G/P3VCsPaWQHptznaTBfnfFHvXUjOi97ibb4U8+EnZU4Cdgq4d xo9exxhwtmbs65xkBzBau4ZB9A== X-Google-Smtp-Source: AG47ELusaKjfl5TzhvBuG8O6YMA7n6u64HPDbbckUoxmCRjTCQ20xZd+a6FJAIx4XR4mHz244zPYDw== X-Received: by 10.223.176.171 with SMTP id i40mr10065710wra.57.1520607046582; Fri, 09 Mar 2018 06:50:46 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 06:50:46 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Subject: [PATCH 18/25] nvmem: vf610-ocotp: Do not use "&pdev->dev" explicitly Date: Fri, 9 Mar 2018 14:47:12 +0000 Message-Id: <20180309144719.29904-19-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_065610_849907_B9D01458 X-CRM114-Status: GOOD ( 11.79 ) 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>, srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Carlo Caione <carlo@caione.org>, linux-mediatek@lists.infradead.org, cphealy@gmail.com, Matthias Brugger <matthias.bgg@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/vf610-ocotp.c b/drivers/nvmem/vf610-ocotp.c index 5a395ffb2ca8..4662309489db 100644 --- a/drivers/nvmem/vf610-ocotp.c +++ b/drivers/nvmem/vf610-ocotp.c @@ -223,8 +223,7 @@ static int vf610_ocotp_probe(struct platform_device *pdev) struct resource *res; struct vf610_ocotp *ocotp_dev; - ocotp_dev = devm_kzalloc(&pdev->dev, - sizeof(struct vf610_ocotp), GFP_KERNEL); + ocotp_dev = devm_kzalloc(dev, sizeof(struct vf610_ocotp), GFP_KERNEL); if (!ocotp_dev) return -ENOMEM;