Holger Macht 7efd52a407 bay: exit if notify handler cannot be installed
If acpi_install_notify_handler() for a bay device fails, the bay driver is
superfluous.  Most likely, another driver (like libata) is already caring
about this device anyway.  Furthermore,
register_hotplug_dock_device(acpi_handle) from the dock driver must not be
called twice with the same handler.  This would result in an endless loop
consuming 100% of CPU.  So clean up and exit.

Signed-off-by: Holger Macht <hmacht@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-06-11 19:13:47 -04:00
..
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-04-23 23:00:13 -04:00
2008-03-18 02:31:34 -04:00
2007-02-12 22:42:12 -05:00
2008-06-11 19:13:46 -04:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-03-18 05:13:14 -04:00