[PATCH] leds: ledtrig-timer trigger_data allocation fix

From: Shuah Khan
Date: Tue Apr 17 2012 - 19:05:14 EST


ledtrig-timer doesn't allocate memory for trigger_data and assigns
(void *)1 to save state. Fixed it to allocate int instead. Please
note that non-null trigger_data is used to key off of to do proper
cleanup in deactivation routine and not used during the life of the
trigger itself.