summaryrefslogtreecommitdiffstats
path: root/include/linux/coresight.h
diff options
context:
space:
mode:
authorXia Kaixu <xiakaixu@huawei.com>2015-01-09 16:57:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-12 05:04:13 -0800
commitf379984f849d729bd2eb076b633200b1c040611e (patch)
tree35cc52a381444a7cbcd76a988143132e57b4f864 /include/linux/coresight.h
parentb2c09284bbfe36f9ba0e3e8bec8bb3c4789b3911 (diff)
downloadop-kernel-dev-f379984f849d729bd2eb076b633200b1c040611e.zip
op-kernel-dev-f379984f849d729bd2eb076b633200b1c040611e.tar.gz
coresight: remove the unused macro CORESIGHT_DEBUGFS_ENTRY
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>
Diffstat (limited to 'include/linux/coresight.h')
-rw-r--r--include/linux/coresight.h9
1 files changed, 0 insertions, 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
OpenPOWER on IntegriCloud