summaryrefslogtreecommitdiff
path: root/security/dummy.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2007-10-31 12:37:37 +0300
committerRichard Purdie <rpurdie@rpsys.net>2007-11-06 00:54:41 +0300
commit199fb21d520ac8c09de1f1288e667988815aa79a (patch)
tree2bed812af4e398e9795023bea7e86f02bdcf93d6 /security/dummy.c
parentc11eef21aa119a41fa210b9693f2346997885bcf (diff)
downloadlinux-199fb21d520ac8c09de1f1288e667988815aa79a.tar.xz
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 <dbrownell@users.sourceforge.net> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'security/dummy.c')
0 files changed, 0 insertions, 0 deletions