From patchwork Thu Jul 16 17:57:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 11668223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 156956C1 for ; Thu, 16 Jul 2020 17:59:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBE32205CB for ; Thu, 16 Jul 2020 17:59:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3kiu7Lcx"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hQSsfuhp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBE32205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=n+g7C7zL3yMYuz2f75eZyLVJnsF0TZ1HwfeyTA5uKR0=; b=3kiu7LcxHEhdqWzSqIuHgWvIc Mf+p+4H++Wo2q4Ab78zL/qsPLNd0cod9dkQR9+OzQb4x/rUwUJVGgHN/tarc8vQ3ATV52pYAySUzB 7v6W1NrpeoHfQpooljg5Zx277/6JZwFSOmQvrtL9PMEdW5koTCPQ/8m7DxSlDIcrj/88He+L7LAOc mewxlP1+9Bv8Bw74+Q9O9SLAQC2YOZVemPoyDNpiTQ1TPF2OljVRi+MOZY+qqNhPZ6WBBzfABIDK8 X3s/BWY6PPzSLKwtZgtn5cRztdHpyOb2cD+yGLX2mAKUxSj5AW+3rjzvpfQgcXbf3dcVt+ga/6lET f3nmz1H6g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw892-0003HP-VM; Thu, 16 Jul 2020 17:58:09 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw88m-0003Az-9G for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 17:57:53 +0000 Received: by mail-pf1-x441.google.com with SMTP id j20so4036997pfe.5 for ; Thu, 16 Jul 2020 10:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QIJMPlAtev0fULGbL/QU+8g9x861FDOFqL00/Bq3uts=; b=hQSsfuhplWqPTXiswra9tSpT8ju7DwJwENZt/dOv8slvEfVnqY0nFZL+GwdEA2yr9Q xL3MIwHT4w8jmvICWPZnInj69n5FULou3YosjhBnK3JuE2VN3Txwaddt80iaRFL/R8ZW F2zIYvv0WZiKJfQiDG9C9ekCPiitzrjcc1w+55/UT1s+9TkpEQnQP1Xt4cJbnAk1xFHg 07pmNMdvjtShBWV2ezzI0IHOcXbkUSp75rlgKjBbM39YacYnoDssBDRivkpTvswV+dme lFZzpzI0dyF8rzfZOOOqHAhDDWsnZFo87shMaDjsko3uSaZZ3FZBoNOGTXs4UJsWEoIO tZKA== 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:mime-version:content-transfer-encoding; bh=QIJMPlAtev0fULGbL/QU+8g9x861FDOFqL00/Bq3uts=; b=eo3OwRbmqke3I+a6kwrLmPqlNijPcZOdr4r1eTFNDhYVdhwEkgvuhoHJFrmo+UnEuj PCx+61vnfS6TZP6TBvvZkGs/Z7StgKhY+mCLLUP5xoTAM45y5LtQitY3P3Zuw1NEfuiL 31tHBRA0rtNMwFnWW/0kjWFYIUfysGitWO/pFmeWZMQSCE9ZZneGW/kqgoIdgQEVcgaf NJx4nchA8cgTiDn8YYnj7TMX7nF6I1TUoGg+/XvxotAysJVkRszxcQrh3IxT5JOLUigi zv2ohgKQnAlu3yWc+E0ALsIqTeGKKrPWLHngtTVXz8CwQ9YuhgNWLVtZNIiKvMp2JVdC AlhA== X-Gm-Message-State: AOAM532Y6dwyBOqB2WdlrlwwTuT1piACtHND/KTwRTcQRWHRavNRxL7r WIlAtrfsSLGEXV+4sZ6H0OMjXg== X-Google-Smtp-Source: ABdhPJzy2mFQxFlx+jY44z7apVSeYKJmKglfu31Ow5KUZ+F/HiDBpC9/HBJKih4IRH46r9/eTUByuw== X-Received: by 2002:a63:4b1d:: with SMTP id y29mr5382546pga.264.1594922270551; Thu, 16 Jul 2020 10:57:50 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id 83sm5473253pfu.60.2020.07.16.10.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 10:57:50 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Subject: [PATCH 02/17] coresight: catu: Use CS_AMBA_ID macro for id table Date: Thu, 16 Jul 2020 11:57:31 -0600 Message-Id: <20200716175746.3338735-3-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716175746.3338735-1-mathieu.poirier@linaro.org> References: <20200716175746.3338735-1-mathieu.poirier@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_135752_394260_70809CC4 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: saiprakash.ranjan@codeaurora.org, suzuki.poulose@arm.com, vulab@iscas.ac.cn, tingwei@codeaurora.org, andriy.shevchenko@linux.intel.com, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Sai Prakash Ranjan Use CS_AMBA_ID macro for coresight catu AMBA id table instead of open coding. Signed-off-by: Sai Prakash Ranjan Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-catu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-catu.c b/drivers/hwtracing/coresight/coresight-catu.c index 16ebf38a9f66..1801804a7762 100644 --- a/drivers/hwtracing/coresight/coresight-catu.c +++ b/drivers/hwtracing/coresight/coresight-catu.c @@ -568,10 +568,7 @@ static int catu_probe(struct amba_device *adev, const struct amba_id *id) } static struct amba_id catu_ids[] = { - { - .id = 0x000bb9ee, - .mask = 0x000fffff, - }, + CS_AMBA_ID(0x000bb9ee), {}, };