From patchwork Fri Jan 9 23:57:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 42925 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CFF7F2055F for ; Sat, 10 Jan 2015 00:00:18 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id r20sf2481098wiv.1 for ; Fri, 09 Jan 2015 16:00:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=DfZXU4xaNDXQUvL5TYLw9dtdxJ90EqemHBoDkUw52uY=; b=ajgBQgNQM9VmukVJte6sRjBH6zgDDcg2wcbg0Kja+vdIJvRDi3xkr/JNRKy8cP4+Ui uBD7+1bkzg51EY+Ubit46d5+MbeAe8lN9hl1H0wZUsVtFyQ7GJz2w7sDxiab7o6CDJTt 9VXKZKT4dUmeiuZctgfxzqcJaxYx1TjdGUKIjFxzLIVMlfgam3UTGiQgcoDmoVrfGrkG jGhFw4KYgptHgI7gOabnzyVLp95Bdb9SL7LcODkGOm9dvR4HOY0M0Et5wj5Ihet5d8bf dkfD96BNKUEmuah1wnUSoqpaCOvwWPi17sAVaJM6ukpOMUNYZwE9EQm8t8frQyndAxxV z05A== X-Gm-Message-State: ALoCoQkMVZgG7BwcRJOY/jBT8c8eFW6/3EnS/EeDJPbQwvEjNaLeHLlTiPVYLjzxYc65ytb44z1W X-Received: by 10.180.76.40 with SMTP id h8mr749403wiw.3.1420848018173; Fri, 09 Jan 2015 16:00:18 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.98 with SMTP id lf2ls445173lac.16.gmail; Fri, 09 Jan 2015 16:00:18 -0800 (PST) X-Received: by 10.152.8.82 with SMTP id p18mr24446612laa.25.1420848017978; Fri, 09 Jan 2015 16:00:17 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id ds5si14510743lbc.138.2015.01.09.16.00.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 16:00:17 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id z11so10597100lbi.10 for ; Fri, 09 Jan 2015 16:00:17 -0800 (PST) X-Received: by 10.152.45.4 with SMTP id i4mr24543249lam.74.1420848017865; Fri, 09 Jan 2015 16:00:17 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp479483lbb; Fri, 9 Jan 2015 16:00:17 -0800 (PST) X-Received: by 10.70.119.106 with SMTP id kt10mr27222326pdb.89.1420848015809; Fri, 09 Jan 2015 16:00:15 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tn3si15474924pab.3.2015.01.09.16.00.14; Fri, 09 Jan 2015 16:00:15 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758562AbbAJAAI (ORCPT + 27 others); Fri, 9 Jan 2015 19:00:08 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35600 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755333AbbAIX5n (ORCPT ); Fri, 9 Jan 2015 18:57:43 -0500 Received: by mail-pa0-f52.google.com with SMTP id eu11so21238234pac.11 for ; Fri, 09 Jan 2015 15:57:42 -0800 (PST) X-Received: by 10.70.89.174 with SMTP id bp14mr27048537pdb.136.1420847862570; Fri, 09 Jan 2015 15:57:42 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id od13sm8108693pdb.18.2015.01.09.15.57.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Jan 2015 15:57:42 -0800 (PST) From: mathieu.poirier@linaro.org To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org Subject: [PATCH 07/11] coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY Date: Fri, 9 Jan 2015 16:57:18 -0700 Message-Id: <1420847842-31769-8-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420847842-31769-1-git-send-email-mathieu.poirier@linaro.org> References: <1420847842-31769-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Xia Kaixu Debugfs isn't used for coresight configuration, so the macro CORESIGHT_DEBUGFS_ENTRY is unnecessary, just remove it. Signed-off-by: Xia Kaixu Signed-off-by: Mathieu Poirier --- include/linux/coresight.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 5d3c54311f7a..7cbfecbfa643 100644 --- a/include/linux/coresight.h +++ b/include/linux/coresight.h @@ -179,15 +179,6 @@ struct coresight_device { #define sink_ops(csdev) csdev->ops->sink_ops #define link_ops(csdev) csdev->ops->link_ops -#define CORESIGHT_DEBUGFS_ENTRY(__name, __entry_name, \ - __mode, __get, __set, __fmt) \ -DEFINE_SIMPLE_ATTRIBUTE(__name ## _ops, __get, __set, __fmt); \ -static const struct coresight_ops_entry __name ## _entry = { \ - .name = __entry_name, \ - .mode = __mode, \ - .ops = &__name ## _ops \ -} - /** * struct coresight_ops_sink - basic operations for a sink * Operations available for sinks