drivers/leds: correct __devexit annotations
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 May 2012 20:01:46 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 May 2012 22:06:44 +0000 (15:06 -0700)
commitb8cd742acfd78a4689148fb80cf74bc26e7f1f3c
tree9c447d733ca74ed22b8272db5cb9a40586ab04a7
parent8c7577637ca31385e92769a77e2ab5b428e8b99c
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>
Cc: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-netxbig.c
drivers/leds/leds-ns2.c