From patchwork Fri Sep 21 10:21:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 147210 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp629414ljw; Fri, 21 Sep 2018 03:25:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY3oEcKbeixGBaCufVb6ForEu2UfoVMxN0Y0JnbqUnbjsKISDxzuOXt+lMAHNSPyM1nmcLs X-Received: by 2002:a63:6507:: with SMTP id z7-v6mr9173230pgb.200.1537525500666; Fri, 21 Sep 2018 03:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537525500; cv=none; d=google.com; s=arc-20160816; b=ugNxSTKPxpLEsw2YMHUhXDs8wYwlGVSw+Zq7eHKUJNAS7Pj82qG/kUeIli7tmFEbIE LtKF7/egLhK++VBke3J9KhjeNW5v2bjtbxzHoBP+j+viqZC230EMLGSFzPgf7tDZVQiO Fd7u49Rz66a7xcqcyMu1grBU6dJeNGQAyFYq75nIShDeg1CMcazK5eqiMidO+hi1/SUW 1d1RqjCBUKidifKdNbADjPriVVOa1rPzSNWx4HE8OJiTBY4KQ5HYBn7R0kbUZqzhsVKs II5+N43Baetxua26vIYJE+dFKQTqMl11dNVBaSPRjbwvhH8oEs1DRr/5FsC8FXKdEPky eAZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=yl0oTF1/HhKk61u2yHkpnvuMXIj9otZHZGKyLra6O+0=; b=e6WuqtxRLKdouAiJdHou1cIZQu8z/uxMH3ObpodAZdElNkUJwGcKv9wyuR1wTO7EkL gjGD/pichQqAsUVJD6n69MIEIuCHmnDkUOPJCFaXcNHkxcfoA5AYo6GcrMRUbfliVjE+ xaoGGWalDUK80aa/ejdICPq1/E9jTOJsNiQK0cUSgSQkjYJ9oVepTLP6HUW2e5Q0aL/2 P/Flp6fG4rMFFdqRmnlZex3Bdr6PQfJzxsADQEE7UZcee+6zZo4Mt8qbGNl4/WcGDkVy Pizt2OAy1nNuP+f7U+QF3xeqoQl1na3EGpgY3beAoVE8mIB8spDZabbxgxLbdsyperX1 V0Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="q/W6ls6l"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t123-v6si3996041pgc.662.2018.09.21.03.25.00; Fri, 21 Sep 2018 03:25:00 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b="q/W6ls6l"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390208AbeIUQNK (ORCPT + 32 others); Fri, 21 Sep 2018 12:13:10 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54634 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389683AbeIUQNJ (ORCPT ); Fri, 21 Sep 2018 12:13:09 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8LAN2UJ032841; Fri, 21 Sep 2018 05:23:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537525382; bh=yl0oTF1/HhKk61u2yHkpnvuMXIj9otZHZGKyLra6O+0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=q/W6ls6lAIbNoqZ8GBqZM1mSt85bxXSKY0IX3ciYuxpPT0Vw8+lLTUhk5FtQUYN07 8mpjWcytb4dE8/9tfgmUMG15iJa8liSRXr+pl84xlIG0KZ5ErCJNf0RXbo3K4kc+LK 50pKFIkP8cuni3I0s9NrWbRnmSyd6WDSjvefF8Yo= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAN22K029248; Fri, 21 Sep 2018 05:23:02 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 21 Sep 2018 05:23:00 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 21 Sep 2018 05:23:01 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8LAMEtD032280; Fri, 21 Sep 2018 05:22:56 -0500 From: Kishon Vijay Abraham I To: Jingoo Han , Joao Pinto , Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Murali Karicheri , Kishon Vijay Abraham I , CC: Mark Rutland , Santosh Shilimkar , Tero Kristo , Nishanth Menon , , , , Subject: [RFC PATCH 09/40] PCI: keystone: Remove redundant platform_set_drvdata Date: Fri, 21 Sep 2018 15:51:24 +0530 Message-ID: <20180921102155.22839-10-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921102155.22839-1-kishon@ti.com> References: <20180921102155.22839-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional change. Remove redundant platform_set_drvdata invocation in ks_pcie_probe(). Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-keystone.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 4554fdc6cce1..c54d18ea263a 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -829,8 +829,6 @@ static int __init ks_pcie_probe(struct platform_device *pdev) if (ret) return ret; - platform_set_drvdata(pdev, ks_pcie); - ret = ks_add_pcie_port(ks_pcie, pdev); if (ret < 0) goto fail_clk;