Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp8060imm; Tue, 19 Jun 2018 14:50:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ0sC69AbQ33JpqfBtnWH3HD6qrk8vBs+NkKkKra2coZtnnhzKr0GWSPNq6mfu8Qjz2Odps X-Received: by 2002:a65:5106:: with SMTP id f6-v6mr16208369pgq.122.1529445056439; Tue, 19 Jun 2018 14:50:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529445056; cv=none; d=google.com; s=arc-20160816; b=r3ZOl379O0IzBgiOhvqQjnyAp+sck94QdqupDxahy2TUcs1CQtjpuT/3khe63ZiXrW CUnPASfBSZiSCxeUYmzoN+dwpY2saDLUEMDsOcobJAzoH38ku3yV5rf/uEagzwmNY6mC crbAhuZWBc6onPbifPqbka2CmWi4JX+kKZT5VHC5u9GwRbOlHLUW+JjGCCx0VDBKaat8 g8q4YiGjRiOodUHAMKIU4z1NLJ77fD91JQOw525GO2DU/sYQ+85zLPXPaVTpBBruVCSH HJd/30KFNYW046S/X+ZyJzQJMwIR7fsbgkXXGh/Dk6SYB6qJrVgwr41+yhHmBsBiWIWO Axhg== 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=LT9TrtiRXCl2nVaT1mJwH3wuwflNX6wnuE0hTLu4Q3Y=; b=UKyJnSzhAwFvf0yno+/j9kA2PtJKCzBPV7Gzpz+kI5eRK8a8IFbAikMvbXgiRhBdjG TNbKkmKu8w3MnHQeGEJ/clmQOTOBxrc0vV6Yh0Z4CZ3MFnEv5QyAlCBIvC7AXkJ0sThG tHUOzsFnuz/9Zo9FahhKMMBxaXaqhJJJSw7udwVhZlVYH1f3G7W9tm/0RU/rOsNwO6Cg SMOCwAAwu6Jiwn5VPhbMJhs1CEy5Nlk4KuD2No29WEIW1NlrE6MH5FC+39aqHclEHakm sgFPVg8db/N3psDr1SmTc/XpY2fvEZDEI+5AntDCzPxfBVklGuASq1xbh+klOU83bM1b 72cA== 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 s10-v6si670228pfk.213.2018.06.19.14.50.33; Tue, 19 Jun 2018 14:50: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 S967406AbeFSVsh (ORCPT + 99 others); Tue, 19 Jun 2018 17:48:37 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:44162 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967231AbeFSVrP (ORCPT ); Tue, 19 Jun 2018 17:47:15 -0400 Received: by mail-yb0-f193.google.com with SMTP id w74-v6so471341ybe.11 for ; Tue, 19 Jun 2018 14:47:14 -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=LT9TrtiRXCl2nVaT1mJwH3wuwflNX6wnuE0hTLu4Q3Y=; b=dUlpCQuxHXFjZcsDu8/cag3/erz5FrWeDeFV/tlaSFcHIoLqnuv+/3o6oGaq0cJ5AS HQhUcrae+pTmCH5OiFfC67//a2a1Xd7CN8uu0KjBHlXTfRkKdg+nLr/GzDzESS+9cazA duOIDxKYQvw2AYtT69hCmvPPp+KFV62rRfRiN0gTbU+DlvimpCadziuGPv74cJzA2YoL 2MmRFVr2/AzqLeRre7q/8p8TPa0UTX/M8QzjPkms3/qTRrMP+2Xyp4MHX8/KxS/0zfKX OBhdoPKV4Zj67DBGHf3TEvsHxT4VaHh7RWt/5Oa98oCY1l0Gp0WDgMGXePYO2zdDpZcK Hy8w== X-Gm-Message-State: APt69E0TNQLqwr5cCXFVflFPzMtYHap7VAbfQ4FMJiuChyUqmb3Q5pDB peN9gxRDGpwaDOdf1f9EZw== X-Received: by 2002:a25:b10d:: with SMTP id g13-v6mr7125131ybj.169.1529444834496; Tue, 19 Jun 2018 14:47:14 -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.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 14:47:13 -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 1/5] MIPS: octeon: use of_platform_populate to probe devices Date: Tue, 19 Jun 2018 15:47:06 -0600 Message-Id: <20180619214710.22066-2-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 of_platform_bus_probe is deprecated in favor of of_platform_populate. of_platform_populate is stricter requiring compatible properties for matching rather than name or type. Octeon uses compatible strings for matching, so convert it to of_platform_populate. Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Rob Herring --- arch/mips/cavium-octeon/octeon-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c index 8505db478904..2940e9cc3a04 100644 --- a/arch/mips/cavium-octeon/octeon-platform.c +++ b/arch/mips/cavium-octeon/octeon-platform.c @@ -1067,6 +1067,6 @@ int __init octeon_prune_device_tree(void) static int __init octeon_publish_devices(void) { - return of_platform_bus_probe(NULL, octeon_ids, NULL); + return of_platform_populate(NULL, octeon_ids, NULL, NULL); } arch_initcall(octeon_publish_devices); -- 2.17.1