From patchwork Mon Oct 15 13:07:09 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: 148835 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3777475lji; Mon, 15 Oct 2018 06:09:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV63M2jLy33dc8SfDxgby7sUv53mX7SvHWlAbYdpxy6Yl6xCBWqB8vU1bEGG03XZYgUKUFQ3E X-Received: by 2002:a62:174e:: with SMTP id 75-v6mr9302756pfx.117.1539608996504; Mon, 15 Oct 2018 06:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539608996; cv=none; d=google.com; s=arc-20160816; b=xign7Oz5phydy/sapooZmlfbRK7kbJl1TKJH9/8xFSv2cFbJAHEmbjI4hkZ6mcEY7t R7LIwR1mrB7BdqJ/7hW5373OzYNVcZoZM96mNdV9lrAIKh87PTHTSSY3o9v9hzNaBFeh rWhpc2wmGCT+e+H2FYQlDNneCkmV1Vm+pjVVACinCaUV+E9OhQs/5sCpwK+cpG06+YgC FjlnriRYv3p7r4It2/+s0ibDcZgyZ1W/GWhB5FvZaVYKn4YFC+Jz3lHVM98x/UBaVjUb wWjdqMcnQJQcHAlNsE05FYPO3pLZ0jXHnLVQ6sELkiG+DTQ1jRsHAwf0nmMzlpip69Eu 6huw== 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=A3B7m156w4JW4GKL6NESpqJCfKj0ubYIPGRpxQW6oQM=; b=Fcxl74auPxvKIPO2Ts2su/GSsr6MWc46vIl8hNMiPmY4wesgzBBzKFpFI6K8KX7SFU n/KFzfdwIkDbYC0fnqj7gLN+iQxYRp0jGaPdpvSBKz/JV+P0xWwAgfY1d7X2zQcYFohU uTaQ8NuLiSK42Gdsab32HHyEAOf1uinwDK4Hl7hGKAWBJPiuDD7b1HjKKPrmYxBB/hnu ZN6PocuJAEZMo6+UXOuw1ubMvKHZpHj5D80KZWjcRuxm9PK1HagrzadOV4WqkqccnT9H /SR7aL2jM9dE5XfYWWjj8DphTf30CufpOF56LpnX9LvYqwNuzwB1DksB9i5ers/pbtvz r2zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=puozyviQ; 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 r3-v6si8169164plb.197.2018.10.15.06.09.49; Mon, 15 Oct 2018 06:09:56 -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=puozyviQ; 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 S1726856AbeJOUyJ (ORCPT + 32 others); Mon, 15 Oct 2018 16:54:09 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47914 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbeJOUyJ (ORCPT ); Mon, 15 Oct 2018 16:54:09 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9FD8NTT123740; Mon, 15 Oct 2018 08:08:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539608903; bh=A3B7m156w4JW4GKL6NESpqJCfKj0ubYIPGRpxQW6oQM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=puozyviQ4k0vSYJ9tqikFas558vFH9fUqvdKWvCjcWr0HF//8j2MSjNU0bpKGKo8y 2kWGECN0UHY52rghRtspwwMdjfGf6+/g0dzW7zmcDAHrK9waK0RNlj8ixyNfJZtvFN qHScR5OU4IwTpJiD0ytv/gT/pvC4xkzlrieoRnDA= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9FD8NhD000397; Mon, 15 Oct 2018 08:08:23 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 15 Oct 2018 08:08:22 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 15 Oct 2018 08:08:22 -0500 Received: from a0393678ub.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9FD7tLA009433; Mon, 15 Oct 2018 08:08:19 -0500 From: Kishon Vijay Abraham I To: Bjorn Helgaas , Lorenzo Pieralisi , Murali Karicheri , Jingoo Han , Gustavo Pimentel CC: Rob Herring , , , , , Kishon Vijay Abraham I Subject: [PATCH 07/19] PCI: keystone: Remove redundant platform_set_drvdata Date: Mon, 15 Oct 2018 18:37:09 +0530 Message-ID: <20181015130721.5535-8-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181015130721.5535-1-kishon@ti.com> References: <20181015130721.5535-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 337464d15775..926e345dc965 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -912,8 +912,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;