]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite647b0926623c53dfabd661ce5c82155fa141561
tree9c447d733ca74ed22b8272db5cb9a40586ab04a7
parent924a66da86e004377e9a009dfcbf4aed95d50988
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