From: Mariusz Kozlowski Date: Sat, 18 Oct 2008 17:23:53 +0000 (-0300) Subject: ACPI: thinkpad-acpi: trivial fix of error message X-Git-Tag: v2.6.28-rc1~26^2~11^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4f778b92c9d8d87c670fc063c66edf1aa46f6f1c;p=karo-tx-linux.git ACPI: thinkpad-acpi: trivial fix of error message Trivial fix makes the error message match the code before it (ibm->driver vs ibm->acpi-driver) better. Signed-off-by: Mariusz Kozlowski Acked-by: Henrique de Moraes Holschuh Signed-off-by: Len Brown --- diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 1dcf0660d8b5..6c9b6c892288 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -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; }