]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: thinkpad-acpi: trivial fix of error message
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Sat, 18 Oct 2008 17:23:53 +0000 (14:23 -0300)
committerLen Brown <len.brown@intel.com>
Wed, 22 Oct 2008 22:13:33 +0000 (18:13 -0400)
Trivial fix makes the error message match the code before it (ibm->driver
vs ibm->acpi-driver) better.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/thinkpad_acpi.c

index 1dcf0660d8b51971254bd50dfcf027b9a9ec4d02..6c9b6c892288144f67671aeb0d9cee43df000739 100644 (file)
@@ -582,7 +582,8 @@ static int __init register_tpacpi_subdriver(struct ibm_struct *ibm)
 
        ibm->acpi->driver = kzalloc(sizeof(struct acpi_driver), GFP_KERNEL);
        if (!ibm->acpi->driver) {
-               printk(TPACPI_ERR "kzalloc(ibm->driver) failed\n");
+               printk(TPACPI_ERR
+                      "failed to allocate memory for ibm->acpi->driver\n");
                return -ENOMEM;
        }