diff options
| author | Shuah Khan <[email protected]> | 2012-05-29 15:07:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-29 16:22:31 -0700 |
| commit | b00961824a33aadec4a825eaeccfbe3db8ec7032 (patch) | |
| tree | f3af8c9307bdf3b06b9fc21df9aea0356b89e2b5 /lib/mpi/mpi-scan.c | |
| parent | 1daef6d27b558d0bde72302ba7062b746887a643 (diff) | |
leds: add new field to led_classdev struct to save activation state
Add a new field to led_classdev to save activattion state after activate
routine is successful. This saved state is used in deactivate routine to
do cleanup such as removing device files, and free memory allocated during
activation. Currently trigger_data not being null is used for this
purpose.
Existing triggers will need changes to use this new field.
Signed-off-by: Shuah Khan <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Bryan Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions