[PATCH] leds: add new field to led_classdev struct to saveactivation state

From: Shuah Khan
Date: Thu Apr 19 2012 - 23:48:08 EST


This patch adds 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.