mfd: twl4030-madc: Remove __exit_p annotation
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2013 21:56:38 +0000 (22:56 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 15 Mar 2013 06:42:22 +0000 (07:42 +0100)
commit037154105e3767324db7c34bf8f540a12cb61d70
treed14977279174a1cd675bdbe1741f7077ddc08a5e
parentd52701d39e3765ad5087da1a6e8bbcaaf04bcd9c
mfd: twl4030-madc: Remove __exit_p annotation

4740f73fe5 "mfd: remove use of __devexit" removed the __devexit annotation
on the twl4030_madc_remove function, but left an __exit_p() present on the
pointer to this function. Using __exit_p was as wrong with the devexit in
place as it is now, but now we get a gcc warning about an unused function.

In order for the twl4030_madc_remove to work correctly in built-in code, we
have to remove the __exit_p.

Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-madc.c