summaryrefslogtreecommitdiff
path: root/drivers/gpio/mc33880.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-03-10 12:10:45 +0300
committerGrant Likely <grant.likely@secretlab.ca>2011-03-12 12:14:48 +0300
commitfc1599f7b0f6aff566237342ade28f2981186cc9 (patch)
treefc0a7011bf605534dbbb465ab4ee3b445e92775b /drivers/gpio/mc33880.c
parent98f51ca98054b1268a7fdfe51d93c86a449ae87c (diff)
downloadlinux-fc1599f7b0f6aff566237342ade28f2981186cc9.tar.xz
gpio: Use __devexit at necessary places
The function gen_74x164_remove and mc33880_remove are used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/mc33880.c')
-rw-r--r--drivers/gpio/mc33880.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/mc33880.c b/drivers/gpio/mc33880.c
index 935479da6705..00f6d24c669d 100644
--- a/drivers/gpio/mc33880.c
+++ b/drivers/gpio/mc33880.c
@@ -146,7 +146,7 @@ exit_destroy:
return ret;
}
-static int mc33880_remove(struct spi_device *spi)
+static int __devexit mc33880_remove(struct spi_device *spi)
{
struct mc33880 *mc;
int ret;