[PATCH] xen/acpi: updates the argument of .remove operation of xen=cpu/mem hotplug

From: Liu Jinsong
Date: Fri Feb 15 2013 - 11:42:45 EST


Rafael removed useless type argument of acpi driver .remove operation.
This patch updates the argument of .remove operation of xen cpu/memory
driver accordingly.

Signed-off-by: Liu Jinsong <jinsong.liu@xxxxxxxxx>
---
drivers/xen/xen-acpi-cpuhotplug.c | 2 +-
drivers/xen/xen-acpi-memhotplug.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/xen/xen-acpi-cpuhotplug.c b/drivers/xen/xen-acpi-cpuho=
tplug.c
index acc5b12..7578279 100644
--- a/drivers/xen/xen-acpi-cpuhotplug.c
+++ b/drivers/xen/xen-acpi-cpuhotplug.c
@@ -113,7 +113,7 @@ static int __cpuinit xen_acpi_processor_add(struct acpi=
_device *device)
return ret;
}
=20
-static int xen_acpi_processor_remove(struct acpi_device *device, int type)
+static int xen_acpi_processor_remove(struct acpi_device *device)
{
struct acpi_processor *pr;
=20
diff --git a/drivers/xen/xen-acpi-memhotplug.c b/drivers/xen/xen-acpi-memho=
tplug.c
index 164287b..853b12d 100644
--- a/drivers/xen/xen-acpi-memhotplug.c
+++ b/drivers/xen/xen-acpi-memhotplug.c
@@ -329,7 +329,7 @@ static int xen_acpi_memory_device_add(struct acpi_devic=
e *device)
return result;
}
=20
-static int xen_acpi_memory_device_remove(struct acpi_device *device, int t=
ype)
+static int xen_acpi_memory_device_remove(struct acpi_device *device)
{
struct acpi_memory_device *mem_device =3D NULL;
=20
--=20
1.7.1

--_002_DE8DF0795D48FD4CA783C40EC82923353FBF3ASHSMSX101ccrcorpi_
Content-Type: application/octet-stream;
name="0001-xen-acpi-updates-the-argument-of-.remove-operation-o.patch"
Content-Description: 0001-xen-acpi-updates-the-argument-of-.remove-operation-o.patch
Content-Disposition: attachment;
filename="0001-xen-acpi-updates-the-argument-of-.remove-operation-o.patch";
size=1598; creation-date="Fri, 15 Feb 2013 16:54:20 GMT";
modification-date="Sat, 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RydWN0IGFjcGlfbWVtb3J5X2RldmljZSAqbWVtX2RldmljZSA9IE5VTEw7CiAKLS0gCjEuNy4x
Cgo=

--_002_DE8DF0795D48FD4CA783C40EC82923353FBF3ASHSMSX101ccrcorpi_--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/