diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-04-18 16:09:55 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-04-19 08:57:16 +0200 |
commit | cf6fea8cda8ae3b5b7576fa6bd2b35905e155967 (patch) | |
tree | 902cb0c38640d6fde8b18fa19a52d26b29141299 /drivers/scsi/pmcraid.h | |
parent | 4a91c45ea57c4974c797b89dfed19e946a774787 (diff) |
leds: ledtrig-ide-disk: Move ide_blink_delay to ledtrig_ide_activity()
Parameters delay_on and delay_off of led_trigger_blink_oneshot()
are pointers, to enable blink interval adjustment by LED class drivers
of the controllers that implement hardware blinking.
Move ide_blink_delay variable to ledtrig_ide_activity() in order to
prevent the situation when adjustment committed by one LED class
driver influences blink interval of the software fallback blink feature,
that is applied to the drivers that don't implement blink_set op.
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/scsi/pmcraid.h')
0 files changed, 0 insertions, 0 deletions