leds: ledtrig-heartbeat: Make top brightness adjustable
authorJacek Anaszewski <j.anaszewski@samsung.com>
Wed, 9 Nov 2016 10:43:46 +0000 (11:43 +0100)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Tue, 14 Feb 2017 21:20:24 +0000 (22:20 +0100)
commitfb3d769173d26268d7bf068094a599bb28b2ac63
tree66b61652d729fd810362716297ff2eca3eab1e91
parentae3473231e77a3f1909d48cd144cebe5e1d049b3
leds: ledtrig-heartbeat: Make top brightness adjustable

LED class heartbeat trigger allowed only for blinking with max_brightness
value. This patch adds more flexibility by exploiting part of LED core
software blink infrastructure.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/leds/trigger/ledtrig-heartbeat.c