]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
platform/x86: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:27:07 +0000 (13:27 -0500)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 26 Dec 2012 16:07:25 +0000 (11:07 -0500)
CONFIG_HOTPLUG is going away as an option so __devexit 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: Robert Gerlach <khnz@gmx.de>
Cc: Ike Panhc <ike.pan@canonical.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/fujitsu-tablet.c
drivers/platform/x86/ideapad-laptop.c
drivers/platform/x86/intel_mid_powerbtn.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 db8f63841b4265922b5a630c020e00cb4f490ad3..44cf312ec1e25e6e295ba264b6c2fb56ccc3b492 100644 (file)
@@ -577,7 +577,7 @@ err_free:
        return ret;
 }
 
-static void __devexit gmux_remove(struct pnp_dev *pnp)
+static void gmux_remove(struct pnp_dev *pnp)
 {
        struct apple_gmux_data *gmux_data = pnp_get_drvdata(pnp);
 
index 1887e2f166a43edeb449ae2851c8f77a8a63bcfc..b87843f3a91ca7af5457e7183c7cd9cf62344822 100644 (file)
@@ -714,7 +714,7 @@ static struct attribute_group compal_attribute_group = {
 };
 
 static int __devinit compal_probe(struct platform_device *);
-static int __devexit compal_remove(struct platform_device *);
+static int compal_remove(struct platform_device *);
 static struct platform_driver compal_driver = {
        .driver = {
                .name = DRIVER_NAME,
@@ -1067,7 +1067,7 @@ static void __exit compal_cleanup(void)
        pr_info("Driver unloaded\n");
 }
 
-static int __devexit compal_remove(struct platform_device *pdev)
+static int compal_remove(struct platform_device *pdev)
 {
        struct compal_data *data;
 
index f77484528b1b2a74c1d0c483b637e810623cc585..c3767d69975ed21091ba46e5fcf60b6b4fec2aa6 100644 (file)
@@ -432,7 +432,7 @@ static int __devinit acpi_fujitsu_add(struct acpi_device *adev)
        return 0;
 }
 
-static int __devexit acpi_fujitsu_remove(struct acpi_device *adev, int type)
+static int acpi_fujitsu_remove(struct acpi_device *adev, int type)
 {
        free_irq(fujitsu.irq, fujitsu_interrupt);
        release_region(fujitsu.io_base, fujitsu.io_length);
index 5ff4f2e314d2857656de31f127823dc8d20556af..9ba92c2213d3dc0880e4fe2ac6cf921c0f9b15c5 100644 (file)
@@ -835,7 +835,7 @@ platform_failed:
        return ret;
 }
 
-static int __devexit ideapad_acpi_remove(struct acpi_device *adevice, int type)
+static int ideapad_acpi_remove(struct acpi_device *adevice, int type)
 {
        struct ideapad_private *priv = dev_get_drvdata(&adevice->dev);
        int i;
index bcbad8452a6f0ca5bb818b684837e207ffef7b5f..580f5a87f68ff4e5bc9ff23a93c4ea598825f79e 100644 (file)
@@ -121,7 +121,7 @@ err_free_input:
        return error;
 }
 
-static int __devexit mfld_pb_remove(struct platform_device *pdev)
+static int mfld_pb_remove(struct platform_device *pdev)
 {
        struct input_dev *input = platform_get_drvdata(pdev);
        int irq = platform_get_irq(pdev, 0);
index 79a0c2f6be53996c2771ffd532e517a6ac8bef4e..b079fd322a93f46c321c2d09c54ae4297d3ff989 100644 (file)
@@ -283,7 +283,7 @@ static int __devinit oaktrail_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit oaktrail_remove(struct platform_device *pdev)
+static int oaktrail_remove(struct platform_device *pdev)
 {
        return 0;
 }
index 1e54ae74274cddbb95323f827ecc11de0d228050..d9b2074824ebea3d737e4f6c40db5c29aa9bb401 100644 (file)
@@ -99,7 +99,7 @@ static int __devinit samsungq10_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit samsungq10_remove(struct platform_device *pdev)
+static int samsungq10_remove(struct platform_device *pdev)
 {
 
        struct backlight_device *bd = platform_get_drvdata(pdev);
index e24f5ae475af019815b10a07e2febaabd29135c6..ca390fe81fd7a54c3b7cd27ee5c2a82bca94ce1e 100644 (file)
@@ -187,7 +187,7 @@ static int __init tc1100_probe(struct platform_device *device)
 }
 
 
-static int __devexit tc1100_remove(struct platform_device *device)
+static int tc1100_remove(struct platform_device *device)
 {
        sysfs_remove_group(&device->dev.kobj, &tc1100_attribute_group);
 
index 1da13ed34b04f9f944c7bb869f4dcafb5c036e46..785cdd48d7c0eda85e43a0159de4c7ea1bb74930 100644 (file)
@@ -60,7 +60,7 @@ static int __devinit xo1_rfkill_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit xo1_rfkill_remove(struct platform_device *pdev)
+static int xo1_rfkill_remove(struct platform_device *pdev)
 {
        struct rfkill *rfk = platform_get_drvdata(pdev);
        rfkill_unregister(rfk);