]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/misc/thinkpad_acpi.c
ACPI: thinkpad-acpi: trivial fix of error message
[karo-tx-linux.git] / 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;
        }