]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7116d3ad73487d3a118a25ad55a7258c9b4f5d3e
treed14977279174a1cd675bdbe1741f7077ddc08a5e
parent481c346d3c767db6a8743cc6b2ec21a934c44b33
mfd: twl4030-madc: Remove __exit_p annotation

b991b1295a "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