Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7146imm; Tue, 19 Jun 2018 14:49:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIhvqkpwSgVUqdVKCuV6veXeE97bLJ5b0/p2p5wa9WpbEDnooXbiBvulAXKD685KJMtcvRH X-Received: by 2002:a63:91c8:: with SMTP id l191-v6mr16500642pge.53.1529444984915; Tue, 19 Jun 2018 14:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529444984; cv=none; d=google.com; s=arc-20160816; b=o611KbUnRamLezu1091I9y9bS/dfq3490VVtyFPVpi8wMN5Pj0SHPp+oO/bM67UXs/ mZMh/oHDGUOQRt1qrWa2qy20ej1Qq72zjkHtxZ2zPOxwantUTmE2QtcuWMb3eCsFgWXT 8ptCkuqeM1qIjthbXKH1HbT/Ps9npugEBmohP/wu3Uoh1xj0ohE/ideAu8MofS0CramH /3SN+cWRrbDN7gPoAJ/KR+Ol+IW1N22ItiKs4olF7kbjJ9KSPM552DUEi0rEq27nU9dZ 4cYei6xqQWCaOwuZ5kmZXHO6KqMpYSaanO9z6L9zu4dVNiz1ez8dzs9bNF0RLQxQztaV OJCA== 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=wLVnH7vIuGi0xSrrr/f9kAJNZm3q+kno8SThjP7bEPk=; b=Y65IaGBf0ZoC933QMSqzSxnGyiRP+8ieQQjB6y+FPilwwiXnglzNJQSPd/PbMkygz+ 0bRXOdmrmwbmWyKbLMBAhGY1w9Vljruc64cSDjz82VmHFkzCNXn/GdDaP8DtlMu2fUv1 vxY9MwgXUR1NajWCdHYBTxvvtpJzN9d3H2YHvr68YDIMBWYN1aojMonSW836G8maoIch EMa+YFAN7Eh9K5evWleN7LVx7fjOdXZjW6d8jfjxkaiGAk8qkpBRO7o6blx6F3xQwFfY 6Wc9IpdiAF49MJ2COoKmeWsgEpRoz0lwv3LjCydFJ0hzLTlbbkTZJ1Mpox7SjNqXy8uh VznQ== 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 s14-v6si564120pgn.76.2018.06.19.14.49.22; Tue, 19 Jun 2018 14:49:44 -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 S967330AbeFSVrX (ORCPT + 99 others); Tue, 19 Jun 2018 17:47:23 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:38357 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964888AbeFSVrS (ORCPT ); Tue, 19 Jun 2018 17:47:18 -0400 Received: by mail-yw0-f196.google.com with SMTP id w13-v6so450949ywa.5 for ; Tue, 19 Jun 2018 14:47:17 -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=wLVnH7vIuGi0xSrrr/f9kAJNZm3q+kno8SThjP7bEPk=; b=rJI9EiVbtyuNC+1y+z/Bw5lvq+1OcNqR8eyCPq8XtrRPYlyinHJo6F7RGquE4jhBKS cKgpMqEnKCwEP2jIy2LbZDKQ4a1aI5va2TDKukJfQEgBux0wSlWQrWgtg/dOMfONnJLQ q6TLtauvajHgFmcw81kM/7w1Jdd7Zep1KJkIsvXraI727y9YzcPECti2qoA2Rg4kJib5 JHBnb5Fs5ZD13Fqwgn8XrFH3JQYnbqXviNzCto608NPrZvyVfCy8sfPVwd6PPUGjmFkN Pav0V7ZIOBiHzx1c94HBaQk99cx9okbA2zhtFs8ZCwNsePrGv5W8KK35SgPUJsWnDXbu ZgQg== X-Gm-Message-State: APt69E2A9mrNrhV/pmzo/9lNBUy3JKt1IJi6mcUcj6vBo1FZ+gGoylEm VDxQkKQV8Oex6oTLCRxA/A== X-Received: by 2002:a0d:c905:: with SMTP id l5-v6mr9331254ywd.308.1529444837527; Tue, 19 Jun 2018 14:47:17 -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.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:47:16 -0700 (PDT) From: Rob Herring To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Kevin Cernekee , Florian Fainelli Subject: [PATCH 3/5] MIPS: bmips: remove unnecessary call to register "simple-bus" Date: Tue, 19 Jun 2018 15:47:08 -0600 Message-Id: <20180619214710.22066-4-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 will register "simple-bus" by default, so it is not necessary for arch specific code to do so unless there are custom match entries, auxdata or parent device. Neither of those apply here, so remove the call. Cc: Kevin Cernekee Cc: Florian Fainelli Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring --- arch/mips/bmips/setup.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/mips/bmips/setup.c b/arch/mips/bmips/setup.c index 3b6f687f177c..231fc5ce375e 100644 --- a/arch/mips/bmips/setup.c +++ b/arch/mips/bmips/setup.c @@ -202,13 +202,6 @@ void __init device_tree_init(void) of_node_put(np); } -int __init plat_of_setup(void) -{ - return __dt_register_buses("simple-bus", NULL); -} - -arch_initcall(plat_of_setup); - static int __init plat_dev_init(void) { of_clk_init(NULL); -- 2.17.1