aha/sound/drivers
Bjorn Helgaas f301ae6a69 [PATCH] pnp: mpu401: adjust pnp_register_driver signature
This series of patches removes the assumption that pnp_register_driver()
returns the number of devices claimed.  Returning the count is unreliable
because devices may be hot-plugged in the future.  (Many devices don't support
hot-plug, of course, but PNP in general does.)

This changes the convention to "zero for success, or a negative error value,"
which matches pci_register_driver(), acpi_bus_register_driver(), and
platform_driver_register().

If drivers need to know the number of devices, they can count calls to their
.probe() methods.

This patch:

Remove the assumption that pnp_register_driver() returns the number of devices
claimed.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:53 -08:00
..
mpu401 [PATCH] pnp: mpu401: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
opl3 [ALSA] Fix use after free in opl3_seq and opl3_oss 2006-03-22 10:36:15 +01:00
opl4 [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
vx [ALSA] vx - Fix memory leak on error path 2006-03-22 10:34:50 +01:00
dummy.c [ALSA] Fix check of enable module option 2006-03-22 10:30:43 +01:00
Kconfig [ALSA] sound: align device drivers menus 2006-01-03 12:29:56 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtpav.c [ALSA] unregister platform devices 2006-01-03 12:30:39 +01:00
serial-u16550.c [ALSA] fix some memory leaks 2006-03-22 10:38:23 +01:00
virmidi.c [ALSA] Fix check of enable module option 2006-03-22 10:30:43 +01:00