Files
linux/drivers
Bjorn Helgaas e4513a57ef ACPI: fix sonypi ACPI driver registration to unregister on failure
Remove the assumption that acpi_bus_register_driver() returns the number of
devices claimed.  Returning the count is unreliable because devices may be
hot-plugged in the future (admittedly not applicable for this driver).

This also fixes a bug: if sonypi_acpi_driver was registered but found no
devices, sonypi_exit() did not unregister it.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-04-01 21:48:08 -05:00
..
…
2006-03-25 08:22:52 -08:00
…
2006-03-24 07:33:24 -08:00
2006-03-27 08:44:51 -08:00
2006-03-29 13:24:50 +11:00
…
2006-03-27 08:44:52 -08:00
…
…
2006-03-23 07:38:16 -08:00
2006-03-24 18:23:14 +01:00
2006-03-31 12:18:56 -08:00
2006-03-31 12:18:56 -08:00