Henrique de Moraes Holschuh bf20e740a4 ACPI: thinkpad-acpi: don't misdetect in get_thinkpad_model_data() on -ENOMEM
Explicitly check for memory allocation failures, and return status to
indicate that we could not collect data due to errors.

This lets the driver have a far more predictable failure mode on ENOMEM in
that codepath: it will refuse to load.  This is far better than trying to
proceed with missing data which is used to detect quirks, etc.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
2008-07-21 09:15:51 -03:00
..
2008-06-20 14:05:57 -06:00
2008-07-16 23:27:02 +02:00
2008-03-04 13:41:23 +01:00
2008-07-16 23:27:01 +02:00
2008-07-16 23:27:01 +02:00
2008-04-29 12:24:24 -04:00
2008-03-30 14:18:41 -07:00
2008-06-20 14:05:51 -06:00
2008-07-02 15:06:25 -06:00