aboutsummaryrefslogtreecommitdiff
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-10-04 17:49:34 -0700
committerJacek Anaszewski <[email protected]>2017-10-06 21:39:21 +0200
commit26c7d6a321da64b49c38fffd827377fd8eb2379c (patch)
treedec88d54bbe25ee5ae367c2c7b9bfc45447d57a4 /lib/net_utils.c
parent55edd1dad96b760c87f5b9e2c461ba551a625f44 (diff)
leds: ledtrig-heartbeat: Convert timers to use timer_setup()
Instead of using .data directly, convert to from_timer. Since the trigger_data is allocated separately, the led_cdev must be explicitly tracked for the callback. Cc: Richard Purdie <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Zhang Bo <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: [email protected] Cc: Thomas Gleixner <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions