]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vme: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:52 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:05:12 +0000 (15:05 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Martyn Welch <martyn.welch@ge.com>
Cc: Manohar Vanga <manohar.vanga@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_pio2_core.c
drivers/staging/vme/devices/vme_user.c

index 35880a3353fdbc0aa5a3b2c0a3ad31c34ec3ad03..0331178ca3b3c65d54da5a9ea0920118008e87f4 100644 (file)
@@ -43,7 +43,7 @@ static bool loopback;
 
 static int pio2_match(struct vme_dev *);
 static int pio2_probe(struct vme_dev *);
-static int __devexit pio2_remove(struct vme_dev *);
+static int pio2_remove(struct vme_dev *);
 
 static int pio2_get_led(struct pio2_card *card)
 {
@@ -455,7 +455,7 @@ err_struct:
        return retval;
 }
 
-static int __devexit pio2_remove(struct vme_dev *vdev)
+static int pio2_remove(struct vme_dev *vdev)
 {
        int vec;
        int i;
index e36211056272e950ee32e105f9d8d4c22fddbbb3..4ef852c4c4e112f04bf1d99dcc18b074034a4925 100644 (file)
@@ -138,7 +138,7 @@ static long vme_user_unlocked_ioctl(struct file *, unsigned int, unsigned long);
 
 static int vme_user_match(struct vme_dev *);
 static int vme_user_probe(struct vme_dev *);
-static int __devexit vme_user_remove(struct vme_dev *);
+static int vme_user_remove(struct vme_dev *);
 
 static const struct file_operations vme_user_fops = {
        .open = vme_user_open,
@@ -846,7 +846,7 @@ err_dev:
        return err;
 }
 
-static int __devexit vme_user_remove(struct vme_dev *dev)
+static int vme_user_remove(struct vme_dev *dev)
 {
        int i;