Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da095fd3 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

acpi: remove use of __devinit



CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Acked-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15856ad5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size(
	return 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 acpi_hest_generic *generic;
	struct ghes *ghes = NULL;
	struct ghes *ghes = NULL;
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
	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 */
	/* Only one hardware error device */
	if (hed_handle)
	if (hed_handle)
+1 −1
Original line number Original line Diff line number Diff line
@@ -445,7 +445,7 @@ out:
}
}
EXPORT_SYMBOL(acpi_pci_osc_control_set);
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;
	unsigned long long segment, bus;
	acpi_status status;
	acpi_status status;