staging: vme: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:03 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:05:00 +0000 (15:05 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p 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 dad8281915bf43bb34c983a23c5326bf49da6229..35c5a147849fc2ea7506f15f69bf15584887e2ed 100644 (file)
@@ -156,7 +156,7 @@ static struct vme_driver pio2_driver = {
        .name = driver_name,
        .match = pio2_match,
        .probe = pio2_probe,
-       .remove = __devexit_p(pio2_remove),
+       .remove = pio2_remove,
 };
 
 
index e3731eb2bab18ccaf6f66c09a4ad9b77512c64e0..8209c2d3c151de3ecceb8a3c7c34d7a7fbe86049 100644 (file)
@@ -619,7 +619,7 @@ static struct vme_driver vme_user_driver = {
        .name = driver_name,
        .match = vme_user_match,
        .probe = vme_user_probe,
-       .remove = __devexit_p(vme_user_remove),
+       .remove = vme_user_remove,
 };