acpi: remove use of __devinit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:22:46 +0000 (13:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 21:19:49 +0000 (13:19 -0800)
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/apei/ghes.c
drivers/acpi/hed.c
drivers/acpi/pci_root.c

index 1599566ed1fe077113b10200d22d0db097fd25fd..73bca1141fa750abca3966b93b45dc2e3f2a97d4 100644 (file)
@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(
        return prealloc_size;
 }
 
-static int __devinit ghes_probe(struct platform_device *ghes_dev)
+static int ghes_probe(struct platform_device *ghes_dev)
 {
        struct acpi_hest_generic *generic;
        struct ghes *ghes = NULL;
index 20a0f2c3ca3b7d1143825ec0946aea54b60f4179..0ec28a38f6077a5bfb287f2666e7f47c518a63ee 100644 (file)
@@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event)
        blocking_notifier_call_chain(&acpi_hed_notify_list, 0, NULL);
 }
 
-static int __devinit acpi_hed_add(struct acpi_device *device)
+static int acpi_hed_add(struct acpi_device *device)
 {
        /* Only one hardware error device */
        if (hed_handle)
index bce469c0b48a05bc29ecd4c9dfdd9aef9e6d4ea7..f70b9e5fc1b59098b530e58567bba2ae36ea99d3 100644 (file)
@@ -445,7 +445,7 @@ out:
 }
 EXPORT_SYMBOL(acpi_pci_osc_control_set);
 
-static int __devinit acpi_pci_root_add(struct acpi_device *device)
+static int acpi_pci_root_add(struct acpi_device *device)
 {
        unsigned long long segment, bus;
        acpi_status status;