ACPI: use __init where possible in processor driver

Use __init for several functions, remove an unnecessary export and a
stray use of __ref.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Jan Beulich
2011-02-17 16:33:53 +00:00
committed by Len Brown
parent dd9c1549ed
commit 6430c9c12a
2 changed files with 6 additions and 7 deletions

View File

@@ -635,8 +635,8 @@ int acpi_processor_device_add(acpi_handle handle, struct acpi_device **device)
return 0;
}
static void __ref acpi_processor_hotplug_notify(acpi_handle handle,
u32 event, void *data)
static void acpi_processor_hotplug_notify(acpi_handle handle,
u32 event, void *data)
{
struct acpi_processor *pr;
struct acpi_device *device = NULL;