aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorDavid Brownell <[email protected]>2007-10-31 09:37:37 +0000
committerRichard Purdie <[email protected]>2007-11-05 21:54:41 +0000
commit199fb21d520ac8c09de1f1288e667988815aa79a (patch)
tree2bed812af4e398e9795023bea7e86f02bdcf93d6 /lib/bitmap.c
parentMerge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 (diff)
downloadkernel-199fb21d520ac8c09de1f1288e667988815aa79a.tar.gz
kernel-199fb21d520ac8c09de1f1288e667988815aa79a.zip
leds: bugfixes for leds-gpio
Three bugfixes to the leds-gpio driver, plus minor whitespace tweaks: - Do the INIT_WORK() before registering each LED, so if its trigger becomes immediately active it can schedule work without oopsing.. - Use normal registration, not platform_driver_probe(), so that devices appearing "late" (hotplug type) can still be bound. - Mark the driver remove code as "__devexit", preventing oopses when the underlying device is removed. These issues came up when using this driver with some GPIO expanders living on serial busses, which act unlike "normal" platform devices: they can appear and vanish along with the serial bus driver. Signed-off-by: David Brownell <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions