From: Kaixu Xia <xiakaixu@huawei.com> To: <mathieu.poirier@linaro.org> Cc: <gregkh@linuxfoundation.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <pratikp@codeaurora.org>, <xiakaixu@huawei.com> Subject: [PATCH] coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY Date: Tue, 30 Dec 2014 19:07:37 +0800 [thread overview] Message-ID: <1419937657-35292-1-git-send-email-xiakaixu@huawei.com> (raw) From: Xia Kaixu <xiakaixu@huawei.com> Debugfs isn't used for coresight configuration, so the macro CORESIGHT_DEBUGFS_ENTRY is unnecessary, just remove it. Signed-off-by: Xia Kaixu <xiakaixu@huawei.com> --- include/linux/coresight.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 5d3c543..7cbfecb 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 -- 2.2.1
WARNING: multiple messages have this Message-ID (diff)
From: xiakaixu@huawei.com (Kaixu Xia) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY Date: Tue, 30 Dec 2014 19:07:37 +0800 [thread overview] Message-ID: <1419937657-35292-1-git-send-email-xiakaixu@huawei.com> (raw) From: Xia Kaixu <xiakaixu@huawei.com> Debugfs isn't used for coresight configuration, so the macro CORESIGHT_DEBUGFS_ENTRY is unnecessary, just remove it. Signed-off-by: Xia Kaixu <xiakaixu@huawei.com> --- include/linux/coresight.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 5d3c543..7cbfecb 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 -- 2.2.1
next reply other threads:[~2014-12-30 11:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-30 11:07 Kaixu Xia [this message] 2014-12-30 11:07 ` [PATCH] coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY Kaixu Xia 2015-01-02 15:08 ` Mathieu Poirier 2015-01-02 15:08 ` Mathieu Poirier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1419937657-35292-1-git-send-email-xiakaixu@huawei.com \ --to=xiakaixu@huawei.com \ --cc=gregkh@linuxfoundation.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mathieu.poirier@linaro.org \ --cc=pratikp@codeaurora.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.