/* * Driver for the LED found on the EBSA110 machine * Based on Versatile and RealView machine LED code * * License terms: GNU General Public License (GPL) version 2 * Author: Bryan Wu <bryan.wu@canonical.com> */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/io.h> #include <linux/slab.h> #include <linux/leds.h> #include <asm/mach-types.h> #include "core.h" #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
static void ebsa110_led_set(struct led_classdev *cdev, enum led_brightness b) { u8 reg = __raw_readb(SOFT_BASE); if (b != LED_OFF) reg |= 0x80; else reg &= ~0x80; __raw_writeb(reg, SOFT_BASE); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Bryan Wu | 31 | 67.39% | 1 | 25.00% |
Linus Torvalds (pre-git) | 15 | 32.61% | 3 | 75.00% |
Total | 46 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Bryan Wu | 31 | 100.00% | 1 | 100.00% |
Total | 31 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Bryan Wu | 83 | 82.18% | 1 | 33.33% |
Linus Torvalds (pre-git) | 18 | 17.82% | 2 | 66.67% |
Total | 101 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Bryan Wu | 167 | 76.26% | 1 | 16.67% |
Linus Torvalds (pre-git) | 49 | 22.37% | 4 | 66.67% |
Russell King | 3 | 1.37% | 1 | 16.67% |
Total | 219 | 100.00% | 6 | 100.00% |