summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-07-05 10:57:06 +0200
committerJonathan Cameron <jic23@kernel.org>2012-07-08 10:39:58 +0100
commit6d459aa011cb087ed1f5c17836b032fcc670e306 (patch)
tree5b09c984a18dc30aa6d20670b3c50753ecd103c9 /tools/perf/util/trace-event-scripting.c
parentcf09fe9c873ca0f4e2ca83e7bea03e2599a62d58 (diff)
iio:trigger: Register sysfs file statically
The name sysfs attribute is the same for all triggers, so there is no need to register them dynamically at runtime. Create a attribute group for it and set it up for the bus attribute group. This also avoids a possible race condition where the uevent for the device is sent before the name sysfs attribute has been added. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions