diff options
author | Jan Beulich <JBeulich@novell.com> | 2011-02-17 11:33:53 -0500 |
---|---|---|
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 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) | |||
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | 637 | ||
638 | static void __ref acpi_processor_hotplug_notify(acpi_handle handle, | 638 | static void acpi_processor_hotplug_notify(acpi_handle handle, |
639 | u32 event, void *data) | 639 | u32 event, void *data) |
640 | { | 640 | { |
641 | struct acpi_processor *pr; | 641 | struct acpi_processor *pr; |
642 | struct acpi_device *device = NULL; | 642 | struct acpi_device *device = NULL; |