OSDN Git Service

misc: add missing __devexit_p() annotations
authorArnd Bergmann <arnd@arndb.de>
Sat, 14 Apr 2012 16:25:03 +0000 (10:25 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 21:54:31 +0000 (14:54 -0700)
commit2dc60c589ba810b0c746c91f390a6796b4176572
treec80ac5082369920d35a1009bcdef56a284c3009e
parent2d24bd17138beb25effadf99f99b95507772ecb3
misc: add missing __devexit_p() annotations

Drivers that refer to a __devexit function in an operations
structure need to annotate that pointer with __devexit_p so it
is replaced with a NULL pointer when the section gets discarded.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bh1780gli.c
drivers/misc/pti.c