diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2008-10-18 13:23:53 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 18:13:33 -0400 |
commit | 4f778b92c9d8d87c670fc063c66edf1aa46f6f1c (patch) | |
tree | c5d400494f279faece6c220f6ac21f028008da60 /drivers/misc/thinkpad_acpi.c | |
parent | 75700e53cd14ccc7a5a42547497dff11fe209186 (diff) |
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 <m.kozlowski@tuxland.pl>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
582 | 582 | ||
583 | ibm->acpi->driver = kzalloc(sizeof(struct acpi_driver), GFP_KERNEL); | 583 | ibm->acpi->driver = kzalloc(sizeof(struct acpi_driver), GFP_KERNEL); |
584 | if (!ibm->acpi->driver) { | 584 | if (!ibm->acpi->driver) { |
585 | printk(TPACPI_ERR "kzalloc(ibm->driver) failed\n"); | 585 | printk(TPACPI_ERR |
586 | "failed to allocate memory for ibm->acpi->driver\n"); | ||
586 | return -ENOMEM; | 587 | return -ENOMEM; |
587 | } | 588 | } |
588 | 589 | ||