diff options
author | Helge Deller <deller@gmx.de> | 2023-08-27 13:50:00 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-28 17:58:14 +0200 |
commit | 789e527adfc335681ea4c3e347e8b500753d4fde (patch) | |
tree | ef31d7e4a1c4c940e753f9aaf8e5b30f0a9880f5 /arch/parisc/kernel | |
parent | 4db89524b084f712a887256391fc19d9f66c8e55 (diff) | |
download | lwn-789e527adfc335681ea4c3e347e8b500753d4fde.tar.gz lwn-789e527adfc335681ea4c3e347e8b500753d4fde.zip |
parisc: led: Rewrite LED/LCD driver to utilizize Linux LED subsystem
Rewrite the whole driver and drop the own code to calculate load
average, disk and LAN load. Switch instead to use the in-kernel LED
subsystem, which gives us quite some advantages, e.g.
- existing triggers for heartbeat and disk/lan activity can be used
- users can configre the LEDs at will to any existing trigger via
/sys/class/leds
- less overhead since we don't need to run own timers
- fully integrated in Linux and as such cleaner code.
Note that the driver now depends on CONFIG_LEDS_CLASS which has to
be built-in and not as module.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/setup.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c index fc4134be1742..2f434f2da185 100644 --- a/arch/parisc/kernel/setup.c +++ b/arch/parisc/kernel/setup.c @@ -143,11 +143,6 @@ void __init setup_arch(char **cmdline_p) parisc_cache_init(); paging_init(); -#ifdef CONFIG_CHASSIS_LCD_LED - /* initialize the LCD/LED after boot_cpu_data is available ! */ - led_init(); /* LCD/LED initialization */ -#endif - #ifdef CONFIG_PA11 dma_ops_init(); #endif |