diff options
author | Jan Beulich <JBeulich@novell.com> | 2011-02-17 16:33:53 +0000 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-03-02 20:56:53 -0500 |
commit | 6430c9c12a7dbb8f60f0d8294b73b3c0bb03f64f (patch) | |
tree | cdeaecc9a9ae48a6df4439ac65f4c21e75721cb7 /drivers/acpi/processor_driver.c | |
parent | dd9c1549edef02290edced639f67b54a25abbe0e (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 360a74e6add..a4e0f1ba604 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; |