]> 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)
commitbd6dd108f39424c6067aa4c125d2867f8f035778
treed14977279174a1cd675bdbe1741f7077ddc08a5e
parentad4d2a9d54f2a24a5b6a16c0f536b8783ccb42e7
mfd: twl4030-madc: Remove __exit_p annotation

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