coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY
authorXia Kaixu <xiakaixu@huawei.com>
Fri, 9 Jan 2015 23:57:18 +0000 (16:57 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 2 Mar 2015 18:33:31 +0000 (11:33 -0700)
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>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit f379984f849d729bd2eb076b633200b1c040611e)
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
include/linux/coresight.h

index bdde4199c74a106450d770b7ca8a8c62b4b590d2..01ed3281d37e6b3168a28829d87f30d267114515 100644 (file)
@@ -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