[PARISC] Use work queue in LED/LCD driver instead of tasklet.
authorGrant Grundler <grundler@parisc-linux.org>
Sat, 22 Oct 2005 02:46:18 +0000 (22:46 -0400)
committerKyle McMartin <kyle@parisc-linux.org>
Sat, 22 Oct 2005 02:46:18 +0000 (22:46 -0400)
commit3499495205a676d85fcc2f3c28e35ec9b43c47e3
treea22c976db8b5c81f3f42b283a37954f9381f3f9f
parentba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e
[PARISC] Use work queue in LED/LCD driver instead of tasklet.

2.6.12-rc1-pa6 use work queue in LED/LCD driver instead of tasklet.

Main advantage is it allows use of msleep() in the led_LCD_driver to
"atomically" perform two MMIO writes (CMD, then DATA).
Lead to nice cleanup of the main led_work_func() and led_LCD_driver().
Kudos to David for being persistent.

From: David Pye <dmp@davidmpye.dyndns.org>
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/time.c
drivers/parisc/led.c
include/asm-parisc/led.h