]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
platform/x86: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:39 +0000 (13:20 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 26 Dec 2012 16:07:26 +0000 (11:07 -0500)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/apple-gmux.c
drivers/platform/x86/compal-laptop.c
drivers/platform/x86/intel_mid_powerbtn.c
drivers/platform/x86/intel_mid_thermal.c
drivers/platform/x86/intel_oaktrail.c
drivers/platform/x86/samsung-q10.c
drivers/platform/x86/tc1100-wmi.c
drivers/platform/x86/xo1-rfkill.c

index 44cf312ec1e25e6e295ba264b6c2fb56ccc3b492..f13642290d70f1aabc46ae4f08878ce1a65673c1 100644 (file)
@@ -609,7 +609,7 @@ static const struct pnp_device_id gmux_device_ids[] = {
 static struct pnp_driver gmux_pnp_driver = {
        .name           = "apple-gmux",
        .probe          = gmux_probe,
-       .remove         = __devexit_p(gmux_remove),
+       .remove         = gmux_remove,
        .id_table       = gmux_device_ids,
        .suspend        = gmux_suspend,
        .resume         = gmux_resume
index b87843f3a91ca7af5457e7183c7cd9cf62344822..6a4758917a1f5d0cc42f8f35dced9237903d7926 100644 (file)
@@ -721,7 +721,7 @@ static struct platform_driver compal_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = compal_probe,
-       .remove = __devexit_p(compal_remove)
+       .remove = compal_remove
 };
 
 static enum power_supply_property compal_bat_properties[] = {
index 580f5a87f68ff4e5bc9ff23a93c4ea598825f79e..4630d555f9239b515c87f07948d642435b7c345d 100644 (file)
@@ -139,7 +139,7 @@ static struct platform_driver mfld_pb_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = mfld_pb_probe,
-       .remove = __devexit_p(mfld_pb_remove),
+       .remove = mfld_pb_remove,
 };
 
 module_platform_driver(mfld_pb_driver);
index 93de09019d1d53649621eda7e83529fcd75624fa..81c491e74b3471e5433a8024df690476489a4fdc 100644 (file)
@@ -563,7 +563,7 @@ static struct platform_driver mid_thermal_driver = {
                .pm = &mid_thermal_pm,
        },
        .probe = mid_thermal_probe,
-       .remove = __devexit_p(mid_thermal_remove),
+       .remove = mid_thermal_remove,
        .id_table = therm_id_table,
 };
 
index b079fd322a93f46c321c2d09c54ae4297d3ff989..8be1d9a0b3daa1360dc92b9ecbbba2a3f06489ef 100644 (file)
@@ -294,7 +294,7 @@ static struct platform_driver oaktrail_driver = {
                .owner = THIS_MODULE,
        },
        .probe  = oaktrail_probe,
-       .remove = __devexit_p(oaktrail_remove)
+       .remove = oaktrail_remove
 };
 
 static int dmi_check_cb(const struct dmi_system_id *id)
index d9b2074824ebea3d737e4f6c40db5c29aa9bb401..4638e2a9110f1f5ffe15b7ff2ef62b014b79646d 100644 (file)
@@ -119,7 +119,7 @@ static struct platform_driver samsungq10_driver = {
                .pm     = &samsungq10_pm_ops,
        },
        .probe          = samsungq10_probe,
-       .remove         = __devexit_p(samsungq10_remove),
+       .remove         = samsungq10_remove,
 };
 
 static struct platform_device *samsungq10_device;
index ca390fe81fd7a54c3b7cd27ee5c2a82bca94ce1e..9b93fdb61ed7c03733ead31aaa7f0ef632a6bd00 100644 (file)
@@ -241,7 +241,7 @@ static struct platform_driver tc1100_driver = {
                .pm = &tc1100_pm_ops,
 #endif
        },
-       .remove = __devexit_p(tc1100_remove),
+       .remove = tc1100_remove,
 };
 
 static int __init tc1100_init(void)
index 785cdd48d7c0eda85e43a0159de4c7ea1bb74930..d63a3474bdd299de63800fa89be24623f52c0f4c 100644 (file)
@@ -74,7 +74,7 @@ static struct platform_driver xo1_rfkill_driver = {
                .owner = THIS_MODULE,
        },
        .probe          = xo1_rfkill_probe,
-       .remove         = __devexit_p(xo1_rfkill_remove),
+       .remove         = xo1_rfkill_remove,
 };
 
 module_platform_driver(xo1_rfkill_driver);