ソースを参照

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>
Axel Lin 14 年 前
コミット
fc1599f7b0
2 ファイル変更2 行追加2 行削除
  1. 1 1
      drivers/gpio/74x164.c
  2. 1 1
      drivers/gpio/mc33880.c

+ 1 - 1
drivers/gpio/74x164.c

@@ -133,7 +133,7 @@ exit_destroy:
 	return ret;
 }
 
-static int gen_74x164_remove(struct spi_device *spi)
+static int __devexit gen_74x164_remove(struct spi_device *spi)
 {
 	struct gen_74x164_chip *chip;
 	int ret;

+ 1 - 1
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;