summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_driver.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2011-02-17 16:33:53 +0000
committerLen Brown <len.brown@intel.com>2011-03-02 20:56:53 -0500
commit6430c9c12a7dbb8f60f0d8294b73b3c0bb03f64f (patch)
treecdeaecc9a9ae48a6df4439ac65f4c21e75721cb7 /drivers/acpi/processor_driver.c
parentdd9c1549edef02290edced639f67b54a25abbe0e (diff)
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>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
-rw-r--r--drivers/acpi/processor_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index 360a74e6add0..a4e0f1ba6040 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
@@ -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;