diff options
author | Colin Cross <[email protected]> | 2012-08-27 09:31:49 +0800 |
---|---|---|
committer | Bryan Wu <[email protected]> | 2012-09-11 18:32:41 +0800 |
commit | 52c47742f79d9240f90af9a6722fe8bb3fa8c0f9 (patch) | |
tree | 057217b5690f6db9421080a7aa039a2fe4899463 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 469eba023087d8fa3974827e6bedf874a620d0e7 (diff) |
leds: triggers: send uevent when changing triggers
Some triggers create sysfs files when they are enabled. Send a uevent
"change" notification whenever the trigger is changed to allow userspace
processes such as udev to modify permissions on the new files.
A change notification will also be sent during registration of led class
devices or led triggers if the default trigger of an led class device
is found.
([email protected]: rename trigger to trig to fix the build error)
Signed-off-by: Colin Cross <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Henrique de Moraes Holschuh <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions