Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp78439imm; Tue, 19 Jun 2018 14:37:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpDibgFBj1HpP7CkEx5atMK0wPIrspIGRXR3hT9FXS4vwN6EkZQm8fU+r/HkU/06FOilVT X-Received: by 2002:a62:5d48:: with SMTP id r69-v6mr19649680pfb.84.1529444276031; Tue, 19 Jun 2018 14:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529444276; cv=none; d=google.com; s=arc-20160816; b=GsnuwCBUiPlqIyG/rQCGJCwIXjOa+vdY1WiLVmKSiZUkvsolfD54MLHhZXYIh9Pqj1 6qPEXFINAa7N5hbSga7ipGlgcFgs9OdRVGh608vA80r1lOS3HwoHs5h8izYyrdkPfQM0 oXYEaPn3GNcQ2m5CBQkhw0i+7MLNUZf1ntH1MtDJzHAYtA0P8MpnoMxnnc1Doo4Dft84 SqspCEw/XtLqDOY7klO1Jrbhg9YNjOxOV7QCMWZMjgvgSNNSNmJHuxeN2929VNho3Jp0 6pAt9gw14WRYaod8B3KZ94R9EPE0RvFWNke+BucgaD2vqvZHD2JWAehVs7THDCTpRtwl oJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UjGDXF+8qLWxuODlZhvjSlO5xHUxXCW+YQ55dOr6t0g=; b=0PIik+aHLIa/jQTNUqGRwC0ku5WEDBebctGv5t1MqipO4eZ+oop0AueOB1Hvl7S1ct cvzAr9lExkAlBpqPAUYk8WNmpZYj8HpyLonO7ZjU2rfZoOYDf1Cq3tevgUG3f/7Z/EqO JU1hFqcKx0CvSi9CUKTdwn9tWlfakQ75ovgmR9GZ0CTrhi49Htf/6MQ5yZ8EAJ4BLkV9 lkWZdMEZGBEeNwaLnD1US8VwOZG7AntD5J+NA31UBtF6Eke4V/fIgvHFgGQrz3d8bxGR p0V3E7CmqJP5Qmbqer87zRlDQPLFZ0N2jEKpoXUNp4uKB2F0UV4HH5SguhJqNda0QHjh XEHw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12-v6si701136pla.201.2018.06.19.14.37.37; Tue, 19 Jun 2018 14:37: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967279AbeFSVg0 (ORCPT + 99 others); Tue, 19 Jun 2018 17:36:26 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:42264 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935985AbeFSVgW (ORCPT ); Tue, 19 Jun 2018 17:36:22 -0400 Received: by mail-yb0-f196.google.com with SMTP id m199-v6so46265ybm.9 for ; Tue, 19 Jun 2018 14:36:22 -0700 (PDT) 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; bh=UjGDXF+8qLWxuODlZhvjSlO5xHUxXCW+YQ55dOr6t0g=; b=LawXjzqX4/zybbWxyjoWd7IKJ4FyulvFJ901/+44fA3qUDuWFkhwPEuJSnfAEQwH3y MZNUmS38wBfKxnFXQK58memB4VeAx0WUsviNqkIqX5qAPNT5OSV8C5n7uTkJy9F1fcwh uSRiZbjSz6wr13fbJr221ImzrRYLp5A+M4DUc0f7OxnnARAWa31jxx1DvivXJS7i33a7 vd8C6hyyiDnRawRUzeef2do8o5jwbRvHGiTcDIVgGsrZgXpWrws8lYe/SGJAXOO0X9HU Lld+puNyhKJwvUyePBzbrX8CVXrdARYkXqMn8aQrc3OSKP9+v7cjLslHd/PX6B921Zsf skcg== X-Gm-Message-State: APt69E3dUFBAjw8K3uHIIynXb3oOBF/yRBXDa5mrHAemBr6HaGaoL1D/ yEMUeAjTvYOoSH+PQEJjlZlhbg4= X-Received: by 2002:a25:ad83:: with SMTP id z3-v6mr4490927ybi.246.1529444182187; Tue, 19 Jun 2018 14:36:22 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id i205-v6sm309535ywc.103.2018.06.19.14.36.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:36:21 -0700 (PDT) From: Rob Herring To: Michal Simek Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] microblaze: remove unecessary of_platform_bus_probe call Date: Tue, 19 Jun 2018 15:36:19 -0600 Message-Id: <20180619213620.14146-1-robh@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The call to of_platform_bus_probe has no effect because the DT core already probes default buses like "simple-bus" before this call. Michal Simek said 'xlnx,compound' hasn't been used in a long time, so that match entry isn't needed. Cc: Michal Simek Signed-off-by: Rob Herring --- arch/microblaze/kernel/platform.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/microblaze/kernel/platform.c b/arch/microblaze/kernel/platform.c index 2540d60610d9..b9a414552d9b 100644 --- a/arch/microblaze/kernel/platform.c +++ b/arch/microblaze/kernel/platform.c @@ -14,15 +14,8 @@ #include #include -static struct of_device_id xilinx_of_bus_ids[] __initdata = { - { .compatible = "simple-bus", }, - { .compatible = "xlnx,compound", }, - {} -}; - static int __init microblaze_device_probe(void) { - of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL); of_platform_reset_gpio_probe(); return 0; } -- 2.17.1