Release 4.7 drivers/leds/trigger/ledtrig-ide-disk.c
/*
* LED IDE-Disk Activity Trigger
*
* Copyright 2006 Openedhand Ltd.
*
* Author: Richard Purdie <rpurdie@openedhand.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/leds.h>
#define BLINK_DELAY 30
DEFINE_LED_TRIGGER(ledtrig_ide);
void ledtrig_ide_activity(void)
{
unsigned long ide_blink_delay = BLINK_DELAY;
led_trigger_blink_oneshot(ledtrig_ide,
&ide_blink_delay, &ide_blink_delay, 0);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
richard purdie | richard purdie | 13 | 50.00% | 1 | 33.33% |
fabio baltieri | fabio baltieri | 7 | 26.92% | 1 | 33.33% |
jacek anaszewski | jacek anaszewski | 6 | 23.08% | 1 | 33.33% |
| Total | 26 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(ledtrig_ide_activity);
static int __init ledtrig_ide_init(void)
{
led_trigger_register_simple("ide-disk", &ledtrig_ide);
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
richard purdie | richard purdie | 20 | 100.00% | 1 | 100.00% |
| Total | 20 | 100.00% | 1 | 100.00% |
device_initcall(ledtrig_ide_init);
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
richard purdie | richard purdie | 57 | 76.00% | 1 | 25.00% |
fabio baltieri | fabio baltieri | 11 | 14.67% | 1 | 25.00% |
jacek anaszewski | jacek anaszewski | 6 | 8.00% | 1 | 25.00% |
paul gortmaker | paul gortmaker | 1 | 1.33% | 1 | 25.00% |
| Total | 75 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.