Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2256411ybv; Fri, 21 Feb 2020 11:54:26 -0800 (PST) X-Google-Smtp-Source: APXvYqz8YlRzxGhHltuPbuHyDDNfk5ZefLtxuBky2WhQTHfKHH+kuVlWtLESQthvE4B2SGuDd8P2 X-Received: by 2002:a05:6808:312:: with SMTP id i18mr3546196oie.44.1582314866724; Fri, 21 Feb 2020 11:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582314866; cv=none; d=google.com; s=arc-20160816; b=ZaEkKyIJWI8IPCAigqNG7xtKcTymvGm+VhoPx6XawpFoPGDtQTUsZQXpgUfmvpFxaG +RiBtQe0iTYM3VUnQQUPDA9zb9XVo1261XQIn4tgQBctM8AEQwWGGnTJPIXl7lHfgYtV o6d54Au7nzohqkoYLKzqq9m/lQsq/wA7dJaj0qxyifht3Ek45cGF43ybpxmrAEf2oBYi bz5UMlsCxolvBtfGt/Mf+tjEajXZf4cd+3vJi3HZ/3I+rO9dOqkZZT9g7r9ZkfQHu+s5 PJqEWj78MjBKMHyt0v1zrxtf46dTPnIngs0kC5C15NKs4HJ8To3BtmZz2bq0MRepIOyP zwXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=shZhJV7/aGxQJQ/WRV/Y6iNMgm28qethvYJ+9H7i4ik=; b=VzWfO6Sxh+2G3Pvg6/52VB06pNRTmIRKZWWBiafA2PYLN3Oj7xH3B/g/iwFgitBbT8 GGrKqvRS5KoZhZOaNg3ILdBVMmZ2s3KfWTMaBSlL+vm3iGn5W2uY1kShrcdbDD/TeKsl KnW+LoW0riMurCt0T/f42Em4JcwW+fSouYvOpX4UAUNDVCSQrVqIoRLYAi55WIXRQRu0 tv+scmMWhVONlM5bgzPeMZQLgA1QvOQ/Dgv8W2cNO4jS4TxHD+pgd0HKydriUoOWsMUX Lbnhj3v1kU4i4il20l5Srwf6Kl0sPXr46bsYJ2AYhe1eZrD5KHF57z63eitja6T7nIt9 If6A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si1801642otn.12.2020.02.21.11.54.14; Fri, 21 Feb 2020 11:54:26 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbgBUTxe (ORCPT + 99 others); Fri, 21 Feb 2020 14:53:34 -0500 Received: from muru.com ([72.249.23.125]:56902 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728149AbgBUTxS (ORCPT ); Fri, 21 Feb 2020 14:53:18 -0500 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 4724A807E; Fri, 21 Feb 2020 19:54:02 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Adam Ford , =?UTF-8?q?Andr=C3=A9=20Hentschel?= , "H. Nikolaus Schaller" Subject: [PATCH 5/7] bus: ti-sysc: Don't warn about legacy property for nested ti-sysc devices Date: Fri, 21 Feb 2020 11:52:54 -0800 Message-Id: <20200221195256.54016-6-tony@atomide.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221195256.54016-1-tony@atomide.com> References: <20200221195256.54016-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In some cases we can have nested ti-sysc instances that may still use the legacy "ti,hwmods" property. Let's not warn if that's the case. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -624,7 +624,7 @@ static void sysc_check_one_child(struct sysc *ddata, const char *name; name = of_get_property(np, "ti,hwmods", NULL); - if (name) + if (name && !of_device_is_compatible(np, "ti,sysc")) dev_warn(ddata->dev, "really a child ti,hwmods property?"); sysc_check_quirk_stdout(ddata, np); -- 2.25.1