]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/leds: correct __devexit annotations
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 May 2012 05:43:11 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:12 +0000 (15:46 +1000)
commita4903f85d40917c0308e3f6dba604cdf2e235aa7
treef207f3159c3f41dd9de2fb50a6c0f6b45882a2ae
parenta2733b9275c4f1de7e510365f0f967a92f757411
drivers/leds: correct __devexit annotations

__devexit functions are discarded without CONFIG_HOTPLUG, so they need to
be referenced carefully.  A __devexit function may also not be called from
a __devinit function.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-netxbig.c
drivers/leds/leds-ns2.c