浏览代码

ACPI: remove use of __devexit

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

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Bill Pemberton 12 年之前
父节点
当前提交
b59bc2fbb4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/acpi/apei/ghes.c
  2. 1 1
      drivers/acpi/hed.c

+ 1 - 1
drivers/acpi/apei/ghes.c

@@ -994,7 +994,7 @@ err:
 	return rc;
 }
 
-static int __devexit ghes_remove(struct platform_device *ghes_dev)
+static int ghes_remove(struct platform_device *ghes_dev)
 {
 	struct ghes *ghes;
 	struct acpi_hest_generic *generic;

+ 1 - 1
drivers/acpi/hed.c

@@ -70,7 +70,7 @@ static int __devinit acpi_hed_add(struct acpi_device *device)
 	return 0;
 }
 
-static int __devexit acpi_hed_remove(struct acpi_device *device, int type)
+static int acpi_hed_remove(struct acpi_device *device, int type)
 {
 	hed_handle = NULL;
 	return 0;