Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6770imm; Tue, 19 Jun 2018 14:49:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJJaP6WV7VsxdmrWWVV4qSirN+oPgUbS2aRGZTio0zM/HTkN9NjXe0WA//d2W6qEmAUoqU2 X-Received: by 2002:a65:5844:: with SMTP id s4-v6mr16630775pgr.417.1529444958326; Tue, 19 Jun 2018 14:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529444958; cv=none; d=google.com; s=arc-20160816; b=0MVfoLEjM1I2Y61xb8bm7f0Be+hnbUzlSiL8AnWHosnY/7Zok/9Bu5dlaNFSZKvsn4 oNPQZIIpkm4izEur/O7+rxOeCGwgIjDWR8UNnL6UmfNbe86/f9C17BxdTk+KI+VWzOf0 82j/90uFX+6QqhZzD1wu5ZoGVOVJbIm/jglROSR8BzlnNPSO2rxOH5C9hvhZ5MFkCzJz 3OQhcBBXQbks83LRas5bOc5fdSB/5adYgA7JqgtYatFsVbD+cjjc7YLpBE58gCu5QF0x zuFPuN/IbylQ+ImfWWN4XXsbZpTrmENrqHlS9+JDXNY705UYslISt1JdhbVX6+NlbZ6m gCrg== 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:arc-authentication-results; bh=LC5sN3D4i3c7rmr3NVM7+l7w8yoxwsjrueH4YGTx6Bw=; b=QoNnYsxyjb7K9cZENwe0ewR7bbALCr8qu94QjDoNIkg3vucBijMwzxR83GKlvhzQx+ 2rjMYEofFpaXXENLg4HehQ5wxuJZ9r0/b7SbEdHLpVknpymR5l6mDrZ5+SGY5S8JlcFk Sw6+cW/I46jJsV5VzWxrsJ6yGDBq2eK4DwryQu6OCpad2iKl0h4l5XKJGff2suagCIdD MWDH+dBy/7hryR+pQ/uGWwU01F4Pjc4h+2o3alOhsqvBfAXYcS/4y2M7euCGZiSmfzyQ 7Qy6hbf5/RWdb8LCaGzvyoCJShS9YUXTrmtGmZ8aWrwPVQlkw30FLc9kqdNhOMn5JT7F Qp4A== 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 e12-v6si558933pgt.243.2018.06.19.14.48.57; Tue, 19 Jun 2018 14:49:18 -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 S967373AbeFSVra (ORCPT + 99 others); Tue, 19 Jun 2018 17:47:30 -0400 Received: from mail-yb0-f195.google.com ([209.85.213.195]:33896 "EHLO mail-yb0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967271AbeFSVrQ (ORCPT ); Tue, 19 Jun 2018 17:47:16 -0400 Received: by mail-yb0-f195.google.com with SMTP id n23-v6so489233ybg.1 for ; Tue, 19 Jun 2018 14:47:16 -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:in-reply-to :references; bh=LC5sN3D4i3c7rmr3NVM7+l7w8yoxwsjrueH4YGTx6Bw=; b=H9CxYwriiz2yw44N/s2dI6YfotgSIbxLsoU/XKzE+cw8e8rh6TrXriBpYu0AnMEr9X n+qknZwLHIsgWZQZJ1DZPO+8tRlv50NTPusuLaeFP6HcZ03eYgLl9koEPGDVaOQwiBnn QTde5sGNDxCW77SSzGPHF9nJhPfTtYPfNAVwpOTBQZsi1xi/iSKChkTKtHm1SferUmdf ngNWzPnfwmjALbnSGw1wlFYHjBYJ2E0WaE39Pn3jyoOwYxXi9YLeHzj7twnl/YlFcmPy xsaFzGSDF/hv8r0MWCAJMAoWqPXACBBUsaRCDerYXPXDTkKmN+vay1301+h9oD6kWt1h VS1Q== X-Gm-Message-State: APt69E0QSDVJwjxX/xh3iNzYNTDZbeAtIg1i4NV4IsQf0xA1tQcR+X7l piGVocrX+82ETIjZJXsqaA== X-Received: by 2002:a25:7e05:: with SMTP id z5-v6mr9708903ybc.442.1529444835927; Tue, 19 Jun 2018 14:47:15 -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 x66-v6sm333612ywc.76.2018.06.19.14.47.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:47:15 -0700 (PDT) From: Rob Herring To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH 2/5] MIPS: netlogic: remove unnecessary of_platform_bus_probe call Date: Tue, 19 Jun 2018 15:47:07 -0600 Message-Id: <20180619214710.22066-3-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619214710.22066-1-robh@kernel.org> References: <20180619214710.22066-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DT core code will probe "simple-bus" by default, so remove the Netlogic specific call. The probing of simple-bus happens at arch_initcall_sync, so the call being removed here is already a nop. Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring --- arch/mips/netlogic/xlp/dt.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/mips/netlogic/xlp/dt.c b/arch/mips/netlogic/xlp/dt.c index 856a6e6d296e..b5ba83f4c646 100644 --- a/arch/mips/netlogic/xlp/dt.c +++ b/arch/mips/netlogic/xlp/dt.c @@ -93,17 +93,3 @@ void __init device_tree_init(void) { unflatten_and_copy_device_tree(); } - -static struct of_device_id __initdata xlp_ids[] = { - { .compatible = "simple-bus", }, - {}, -}; - -int __init xlp8xx_ds_publish_devices(void) -{ - if (!of_have_populated_dt()) - return 0; - return of_platform_bus_probe(NULL, xlp_ids, NULL); -} - -device_initcall(xlp8xx_ds_publish_devices); -- 2.17.1