Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp474537imm; Fri, 21 Sep 2018 03:27:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY1zlXluliagA3S4Lt+IKBQhJ0U5Nekk5vPoiLkNMqwr82Y4FDzjU1COSZuP7Qw12tB7fXG X-Received: by 2002:a63:f244:: with SMTP id d4-v6mr40203107pgk.2.1537525635959; Fri, 21 Sep 2018 03:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537525635; cv=none; d=google.com; s=arc-20160816; b=mvUj1kSifPqyziEwG2n45PB7pKQirhRDa6EkJySjubXMd638HfDsJWpPqK4fbQImQb jqKXbuRWOjR3LQ/G3BaotNkRyKx420nVJgQACMVLEON83fX+Ry05/e/ZIjNPPAf86CRZ ZD+EPuEBChmWYlk4SoCUe88gYuLQwfGmzZi5ep2+s+lYiHJcU/WKVoOAKHrwVQX8Afg5 QUwBukxvKnxiX/imbiAQtRXTCTMnU6FLc6dExwskNaK0LkPHE1sXZKXldumSyYtm/uiA 5V2TBrxuO+pakFOW9VFeBewFu1vQdE7w59mPUJYjTJLrLyhmIB28TiWz1frTpaG85Fx2 HNWg== 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 r25-v6si4984704pgl.146.2018.09.21.03.26.58; Fri, 21 Sep 2018 03:27:15 -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 S2390204AbeIUQNK (ORCPT + 99 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 Content-Type: text/plain 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(-) 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; -- 2.17.1