android_kernel_xiaomi_sm8350/drivers/pnp
Bjorn Helgaas 982c609448 [PATCH] pnp: PNP: adjust pnp_register_driver signature
Remove 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.

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().

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
..
isapnp [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
pnpacpi [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
pnpbios [PATCH] PnPBIOS: Missing SMALL_TAG_ENDDEP tag 2006-03-23 07:38:16 -08:00
base.h
card.c [PATCH] pnp: PNP: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
core.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
driver.c [PATCH] pnp: PNP: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
interface.c
Kconfig
Makefile
manager.c [ALSA] [PATCH] alsa: Improved PnP suspend support 2006-01-03 12:31:30 +01:00
quirks.c
resource.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
support.c
system.c