summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-max8997.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-04 17:49:34 -0700
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-10-06 21:39:21 +0200
commit26c7d6a321da64b49c38fffd827377fd8eb2379c (patch)
treedec88d54bbe25ee5ae367c2c7b9bfc45447d57a4 /drivers/leds/leds-max8997.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 <rpurdie@rpsys.net> Cc: Pavel Machek <pavel@ucw.cz> Cc: Zhang Bo <bo.zhang@nxp.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: linux-leds@vger.kernel.org Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-max8997.c')
0 files changed, 0 insertions, 0 deletions