ACPI: thinkpad-acpi: rename register_ibmacpi_subdriver
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 21 Apr 2007 14:08:25 +0000 (11:08 -0300)
committerLen Brown <len.brown@intel.com>
Sun, 22 Apr 2007 03:30:32 +0000 (23:30 -0400)
Rename register_ibmacpi_subdriver to register_tpacpi_subdriver, as
we are not called ibmacpi anymore.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h

index ddaedf80d873c38bc2d7b0ce5b01853f9f4d373a..cac73e5f96e217656196add7f64f242830d62b5b 100644 (file)
@@ -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;
index 015c02beb203576a19c493539628c69a7f36a103..b86e5740aba4ee6d4abefea5ce6aeb3ccb8324c0 100644 (file)
@@ -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);
 
 
 /*