From patchwork Tue Jun 19 21:47:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 139271 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp13903lji; Tue, 19 Jun 2018 14:48:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIe71d26/rrwS88oeC3qDoch1PgMVEEPKvMVKZdJfxX/HxDOqb3NYm8t2tlNJVGlH/mAmOi X-Received: by 2002:a63:714e:: with SMTP id b14-v6mr16001797pgn.73.1529444897908; Tue, 19 Jun 2018 14:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529444897; cv=none; d=google.com; s=arc-20160816; b=OYNKPaUJd4gzPmgYQRxl17SGHdOLZ8xYrYGeNWYEYFFvSwRaaSDWMHNYYtLnIFmmz8 BZOTZybEdNgqv+32p1Xo8GO2+gKdBDnafQCcPluOap3SFFihaFtKO5GKFyeObyuk8DNQ rKY7+TUkh7X2WTas/hVlXnKtB+bVe2LSUaJUMgV7OkuK6nN8ozfpyioBdZdZgN5YmEvu 1qu2XQIUK9W7iqethhiZSaFO0Ub44kpZakSBichqRQPw9J2W3mm/MnIe34vbq78BSuLf +MZrASP8+F3T2OMy9J6bL7O4YcQ+eipx5XxgTRmkk9T6VF6cDbRfGSByU5XsLSX7LGGn SXtw== 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=W1Ng6EJXxwLUZYoApWutVMxtEjDppkRB8dUa9ssSHew=; b=B3glkKhWjcNXjWTLbtvE4GTX/Rk1UQeo5fhFEFKjAz1/EQG5DsZKD9tAPWyIj6z61K N+sLjTMHj9y72Y4UtjYBzZP4AOOu/zxg4Wj7JytgOX+bCelEPUPS9WzIx1TFR6oDi4Sh K+PZ68n5olmQEDp/zUmxbk5WfVWVcgQ5XtIBkPV36Mls1y5i8RdUcc7a5JTGPRu697HW yjbrpX2D6VCDUl0NNliGycqYqiz9G0IjwRiwAVgjwVsVlVLmT1vpAEE1GfJp73GnmH// 9HXYbf3tJYa0XcUkY38Xabr9229loIJ3qjBVIjmyo/y2YpfXUlwEyLNIkAFV9V9FX1UZ e/xQ== 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 u13-v6si614814pfh.282.2018.06.19.14.48.11; Tue, 19 Jun 2018 14:48:17 -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 S967397AbeFSVsJ (ORCPT + 30 others); Tue, 19 Jun 2018 17:48:09 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:34882 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967311AbeFSVrW (ORCPT ); Tue, 19 Jun 2018 17:47:22 -0400 Received: by mail-yw0-f194.google.com with SMTP id v131-v6so452910ywg.2 for ; Tue, 19 Jun 2018 14:47:21 -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=W1Ng6EJXxwLUZYoApWutVMxtEjDppkRB8dUa9ssSHew=; b=mxqPRez6wif6W94hfc0KmR73TzMO0BYkrpwPKP9NII39V4CXtKgrVn+brUgMsC7M23 9ZN+8JVPuIrAfRRfXo9wTBdWPta2SSdbHeiQDSUf2RK7+p7VlbNUnCWJALyNjUul0ijT YepO2rBH2vaPgNQSopWTa1ipxlStfZ7iyJqEuyMjWh0khre3jqdzHwdFmP1f/iR4FYXW YxJ8f3EBPprJeB3XqNEEcNgbdWOHve+oyLIV/oFvT6iYcVZE5sbMlaluSfGOCmG/IddY /CzEjycl225OmzasmqOEwa1cg9+XZ4SmmdsKcjDgbR6LV+BqwR/0u+TJHUPmsGCp69n5 aWHw== X-Gm-Message-State: APt69E1LTd5KNoqyUBJlxaNUVsZ/BddE7FlK9Da5Lz3Wr0Vdc+/6T5qS tGlAM3WWBD2Be7G97r7Jgg== X-Received: by 2002:a81:6541:: with SMTP id z62-v6mr8755428ywb.160.1529444840548; Tue, 19 Jun 2018 14:47:20 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:47:19 -0700 (PDT) From: Rob Herring To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, John Crispin Subject: [PATCH 5/5] MIPS: lantiq: remove unnecessary of_platform_default_populate call Date: Tue, 19 Jun 2018 15:47:10 -0600 Message-Id: <20180619214710.22066-6-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 call of_platform_default_populate, so it is not necessary for arch specific code to call it unless there are custom match entries, auxdata or parent device. Neither of those apply here, so remove the call. Cc: John Crispin Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring --- arch/mips/lantiq/prom.c | 8 -------- 1 file changed, 8 deletions(-) -- 2.17.1 diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 9ff7ccde9de0..d984bd5c2ec5 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include @@ -114,10 +113,3 @@ void __init prom_init(void) panic("failed to register_vsmp_smp_ops()"); #endif } - -int __init plat_of_setup(void) -{ - return of_platform_default_populate(NULL, NULL, NULL); -} - -arch_initcall(plat_of_setup);