Message ID | 20180309144719.29904-26-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1078060lja; Fri, 9 Mar 2018 06:51:12 -0800 (PST) X-Google-Smtp-Source: AG47ELsr3stL52R1/xHv86qI5BQvQco6lMEsBeA1SuIo+xORzE8WwgaLJa4hmYtw+YjoXVScy2Wj X-Received: by 2002:a17:902:6582:: with SMTP id c2-v6mr868809plk.189.1520607071836; Fri, 09 Mar 2018 06:51:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520607071; cv=none; d=google.com; s=arc-20160816; b=VnAC22y+A0Vw8SZcuaHqhNXE7pQqoTi4AQmHptUhRLlREPlXezEvMy+RAjHNO37MzT 1P7+e9iNN2AURbHWEXa38tkj6GQIX6R6cVV1nEaUrYqoQfHu6zn1xZKsaTTNCpxEhUQt 7EI+HOzqQ8aPMtTNlSKu0uOujNQyOY5X1B6JDpqLYCmhYq7POylE2qR13DHpyLquDEpZ eXISdlafz/KrbY6TiRXZ94m9QVIW2N0RMfTupWPm8GdORtwRJ/VKBwTjGN2LNDy6givJ TvfLgEGe43ZEHgSllr22Qpnto6bOjzqM2Fbq+fZn43b7Y6dcxNYc0fonO0S1u4r6PCL2 DS4A== 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=1xqCUxyI79DAmSeIUQbewmE0e3acBTiWN2U03OuSA80=; b=XD1+N3hH8ymO0s9eaoXC0F12bt7g49HEcPX+brzkXEAntvcRMVDkR+nt7+wHvG/ldO BGdjPoH4gXp2gey92mwjjgq0NNYPun+FKzLqcFMGnvE7hSvKFxBxCc3dMAozZbrNZszW AyVKP3RbudWQzYPjUthdtETstvmjunXL3VqxGfWAkoYYrJzDmKB5yrB/5cWQAha/7qjV nCNc8/WDOgS1aOE9PlDAKB/31ju1sNx3I1xtUcQFSD5GZAL6PpJFhFfdqP5xjuiJ3t/F BvFdRz14R3WILOW+r1KOKi0LUWRwOZpKR5h0lk0nKwqgmvNlZUQso+nYR0bcB7H2IYfp RdGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Yzlc/oc2; 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 g11si976638pfd.272.2018.03.09.06.51.11; Fri, 09 Mar 2018 06:51:11 -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=Yzlc/oc2; 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 S932420AbeCIOvJ (ORCPT <rfc822;dan.rue@linaro.org> + 28 others); Fri, 9 Mar 2018 09:51:09 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:37468 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751244AbeCIOu5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Mar 2018 09:50:57 -0500 Received: by mail-wr0-f193.google.com with SMTP id z12so9267658wrg.4 for <linux-kernel@vger.kernel.org>; Fri, 09 Mar 2018 06:50:56 -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=1xqCUxyI79DAmSeIUQbewmE0e3acBTiWN2U03OuSA80=; b=Yzlc/oc2h6nKFFUwYT/obQ/asb2ou+AyoueXiDQrIBtnyp80hihq3Y42aAE3/GHnvO zqRbdUbtnlc9ZLpR8jBZqSP/YS5L2IOnPa16PHj6g8oh16tFwesYxUKZ8+n3fBv+6yp3 3GZj9GNSvLZLfz4GHxcUhy5Y8ZVWjxaYvHKDw= 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=1xqCUxyI79DAmSeIUQbewmE0e3acBTiWN2U03OuSA80=; b=jaLebHheszrpda1bPClE5EqaSuCqY4VBxnNfCrSfJLXV9ZIZwhi3eeCFoeedIHFKxV +Xuy0HKeZ8Ghc7+4NLU9f45rNCqt3YLeDyomDrNiUuvmRNis6Xs1wQ28d0atDXKmQe1L ed042KR1ngf2TeD3GuLQzQ4KPE66898Q8IZckEM84i8E0NmCW5lh0iQX0Gm0utt6Qukj gdmpkdObOYNfJWqxmPIMFMdixmUyv4ZlJpLgJvrNbn2LS9cR+nNbVMVzirmvJC2zEK2G EXXVGgIXCjof5stBpbpWPKXhNaqW+96UsMIYjBywnZzQVgqk7u3UeETSW887vZMbHS+u cGkA== X-Gm-Message-State: APf1xPCKTSk/TE56OAyUrsBYKcTJ7UiIUL/7eWxhEaO0LVIUmNq4BUnv Q24dKM6j2U1kJO/wZdls5S8ySQ== X-Received: by 10.223.138.153 with SMTP id y25mr25607094wry.257.1520607055881; Fri, 09 Mar 2018 06:50:55 -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.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 06:50:55 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, Dong Aisheng <aisheng.dong@nxp.com>, Shawn Guo <shawn.guo@linaro.org> Subject: [PATCH 25/25] nvmem: imx-ocotp: remove unused dead code Date: Fri, 9 Mar 2018 14:47:19 +0000 Message-Id: <20180309144719.29904-26-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/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index f1482c664b19..60816c856dd6 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -439,7 +439,6 @@ MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids); static int imx_ocotp_probe(struct platform_device *pdev) { - const struct of_device_id *of_id; struct device *dev = &pdev->dev; struct resource *res; struct ocotp_priv *priv; @@ -460,7 +459,6 @@ static int imx_ocotp_probe(struct platform_device *pdev) if (IS_ERR(priv->clk)) return PTR_ERR(priv->clk); - of_id = of_match_device(imx_ocotp_dt_ids, dev); priv->params = of_device_get_match_data(&pdev->dev); imx_ocotp_nvmem_config.size = 4 * priv->params->nregs; imx_ocotp_nvmem_config.dev = dev;