Message ID | 20180309144719.29904-19-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1079735lja; Fri, 9 Mar 2018 06:52:53 -0800 (PST) X-Google-Smtp-Source: AG47ELu9S5vfRkZbpYRRxmCbdqFS4hnlIZq5owzuFB5jycNQqEb+0NEFFdYR82lIDN8RFkqs+9ev X-Received: by 10.99.160.80 with SMTP id u16mr24210673pgn.389.1520607173461; Fri, 09 Mar 2018 06:52:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520607173; cv=none; d=google.com; s=arc-20160816; b=Nqopg/UBtq07T50yVdC6H2uzDRbnbsOWlL1QkWevkyjFhITokdig4xY8dRIv4GpAr2 PGmIWMBwNL8E8WWRlLIkenTv7i5kroQl+hV1K/l6KbEIafxSZGOuWeXrbE1FY3CnpK4j polHYg1vFiE3ZiZzPXyd9DvwVAUzOu/MRPm1u+sEtQE7/bD6juVQewlTa8h6Wj+7HJZ2 wb47WtWyFyoc61ZhJRwbN9E9UlXQ++N1g7d3HL/YPJBCGoGgcDLqkZVzsomiNGdXRhz4 GU4YprPmnuHQimAssNLBHLiIlMWbaralcy1BJEZp6e6pkVfPjpl0+gpopezJhw03+/gb HTtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=GD6bLYBRCS/d7tbmXKvDegmT5vCtX9uh12GfjuFtTG4=; b=KOrcAczMKLU9HeA1Axmj4vufjILZBpHlCvAkDfADAVMgyBlxQLaFJnpPVqdL/T2j+W nE3T7Vis1H2+nLxQRz2EXPjcqqiKNYr9qjQFFkVWMdazxKqNkX3b69YuFU3smuWlKsUx KwKkJkHAaUCF5dYzyOLqqKk5YIHulbxsybL3CmTXmASpIZBeNQaguJDYcyvmX0UKrovV epdSed5yQ+tQm0PzLyr3u8D/skoJ1rEi3Ade8pYgZ88wZfVNY1L4mCwdFRjHWCRBItqi w/AE57HGHMVYxWa8wPP9FFIGtRYbYLss/o2TUlFyylyyE9C7WOaXLqYmo4qDcVabMScv SozQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HBdnerQA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si809859pgv.563.2018.03.09.06.52.53; Fri, 09 Mar 2018 06:52:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HBdnerQA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932462AbeCIOwb (ORCPT <rfc822;dan.rue@linaro.org> + 28 others); Fri, 9 Mar 2018 09:52:31 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:32984 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932258AbeCIOur (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Mar 2018 09:50:47 -0500 Received: by mail-wr0-f193.google.com with SMTP id v18so9275131wrv.0 for <linux-kernel@vger.kernel.org>; Fri, 09 Mar 2018 06:50:47 -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=gkIoY0dqxvOh9qNf9hUILN6eTKzAf2S87f7wi1HBxdeyeHR1LLgXV3+sa98G2ZKtMk JWZX2hFyF6g/ZaqJ5cbaLLx7TlKx4Gm5p6S5B9ipM2nV4a0RvDS/V6LPsr994zpu75yZ ReaslBWgiaDvk+m/1KB1jFODC3sE+OtzeOaWFecyVTV5+U4nDJizwYHmM8hY/35TIMdZ sEfZH3MBNEKI4yieOijl7OBHymdQ3bvPIlZFzyDF8PWoGyjjLAKQCp/lzPyDRMIx3t7M hSpgJYXFimOwr7Xs7x5PmC2mQNsb9QEPBXvcrPEEYnzSabGsPSsQAEh46rY3/yn0YwmD 3zFg== X-Gm-Message-State: AElRT7HSm46TFwxxGIza2N+8dWfC+Eliq48B7p2B25oxEmOn1lAbWanr SY5nOXJWhHCaa61SE05jkSqxHA== 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 Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, Andrey Smirnov <andrew.smirnov@gmail.com>, Heiko Stuebner <heiko@sntech.de>, Masahiro Yamada <yamada.masahiro@socionext.com>, Carlo Caione <carlo@caione.org>, Kevin Hilman <khilman@baylibre.com>, Matthias Brugger <matthias.bgg@gmail.com>, cphealy@gmail.com, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
nvmem: patches for v4.17
|
expand
|
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;