Commit 6700121b authored by Henrique de Moraes Holschuh's avatar Henrique de Moraes Holschuh Committed by Len Brown

ACPI: thinkpad-acpi: rename register_ibmacpi_subdriver

Rename register_ibmacpi_subdriver to register_tpacpi_subdriver, as
we are not called ibmacpi anymore.
Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 756970ad
......@@ -345,7 +345,7 @@ static int __init ibm_device_add(struct acpi_device *device)
return 0;
}
static int __init register_ibmacpi_subdriver(struct ibm_struct *ibm)
static int __init register_tpacpi_subdriver(struct ibm_struct *ibm)
{
int ret;
......@@ -2574,7 +2574,7 @@ static int __init ibm_init(struct ibm_struct *ibm)
return 0;
if (ibm->hid) {
ret = register_ibmacpi_subdriver(ibm);
ret = register_tpacpi_subdriver(ibm);
if (ret < 0)
return ret;
ibm->driver_registered = 1;
......
......@@ -157,7 +157,7 @@ static void ibm_exit(struct ibm_struct *ibm);
static void dispatch_notify(acpi_handle handle, u32 event, void *data);
static int setup_notify(struct ibm_struct *ibm);
static int ibm_device_add(struct acpi_device *device);
static int register_ibmacpi_subdriver(struct ibm_struct *ibm);
static int register_tpacpi_subdriver(struct ibm_struct *ibm);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment