Message ID | 1555344260-12375-16-git-send-email-suzuki.poulose@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3105411jan; Mon, 15 Apr 2019 09:06:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJSPZ/ayRRSiezNOHpBYNOQkS0fNPrHlmh+kW+7TkybtKrXIITfig83A+OZxPTC+F4IPkP X-Received: by 2002:a63:7d03:: with SMTP id y3mr70646841pgc.8.1555344377252; Mon, 15 Apr 2019 09:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555344377; cv=none; d=google.com; s=arc-20160816; b=n7vYuCNsMX4tS2f2MBbVflZL8nOTYQC9s1zeg5B1J7FLG+cERWGnWdLnOiT7BG9A7v bRoaL0IOmwCo8H8ZFHaR+UBGDCpDtnMSLCFiqBQcBk//NX6q4XvNXMktjqTT4U5MIECX ZKJSbnu9yecuHNLfUgYs7obTa+zRPLvOXko+bwdJE8dNUyzq1HbABexNu4drQmcphfXk HN/sfolVLWkx1fNuEfD0wmWnGuKTIEt7zwhotE7mSTS1kpLcurGSmsMmpo9QuxqTrXog 1dIrFWLYLU5tFi78gdkL+E2DQQra14d0U9SFVyuStpPqzhXWiTxYhHbjS+tOseRjr3Zr lR0Q== 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; bh=RHstHalWmeyP8w90lwJAlqVnu3SqjScVnjdZBglBgI4=; b=NiPEctrWHdEIkrdSb2HjWc9lqV4IjZmzweG80oOfEDeDNBBGmz2fAKRnYLLxoXym+0 RD40LCvcrpdsfJRHnALfIvXSOxhLYmXTuw1WD47yAe4bj947BKAcr+gck5n4kGQNVjhP GRQWjA4GWj/GaZht7OPA2g8oBR1+C7k7Ke45VFktabi/kEOWoWRe80Gxmq2JiXWtBdDk LUifKSiGbPxhoc/zV3EdhsQbaMeRQYJpRO6F4BAlNwdu+RZF7PUHL1I5hi7/wf4xyC0F 9+ZtDECpIiZ/E7U9lnsUjtxzof9sFxzsZPjDKb5RCmBi5zkWx0ByxFlDta3cS5n6nRyL aYqg== 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si44448747pgr.189.2019.04.15.09.06.16; Mon, 15 Apr 2019 09:06: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727983AbfDOQGP (ORCPT <rfc822;mike.holmes@linaro.org> + 30 others); Mon, 15 Apr 2019 12:06:15 -0400 Received: from foss.arm.com ([217.140.101.70]:37834 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727954AbfDOQGL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 15 Apr 2019 12:06:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 31847A78; Mon, 15 Apr 2019 09:06:11 -0700 (PDT) Received: from en101.cambridge.arm.com (en101.cambridge.arm.com [10.1.196.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A1AF93F68F; Mon, 15 Apr 2019 09:06:09 -0700 (PDT) From: Suzuki K Poulose <suzuki.poulose@arm.com> To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, coresight@lists.linaro.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, rjw@rjwysocki.net, robert.walker@arm.com, Suzuki K Poulose <suzuki.poulose@arm.com> Subject: [PATCH v2 15/36] coresight: etm3x: Rearrange cp14 access detection Date: Mon, 15 Apr 2019 17:03:58 +0100 Message-Id: <1555344260-12375-16-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555344260-12375-1-git-send-email-suzuki.poulose@arm.com> References: <1555344260-12375-1-git-send-email-suzuki.poulose@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
coresight: Support for ACPI bindings
|
expand
|
diff --git a/drivers/hwtracing/coresight/coresight-etm3x.c b/drivers/hwtracing/coresight/coresight-etm3x.c index 9c92491..fa2f141 100644 --- a/drivers/hwtracing/coresight/coresight-etm3x.c +++ b/drivers/hwtracing/coresight/coresight-etm3x.c @@ -802,9 +802,9 @@ static int etm_probe(struct amba_device *adev, const struct amba_id *id) return PTR_ERR(pdata); adev->dev.platform_data = pdata; - drvdata->use_cp14 = of_property_read_bool(np, "arm,cp14"); } + drvdata->use_cp14 = fwnode_property_read_bool(dev->fwnode, "arm,cp14"); dev_set_drvdata(dev, drvdata); /* Validity for the resource is already checked by the AMBA core */
As we are about to refactor the platform specific handling, move the DT property handling to generic helpers. Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> --- drivers/hwtracing/coresight/coresight-etm3x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4