kernel_optimize_test/drivers/pnp
Bjorn Helgaas 6e906f0e1c PNP: make resource assignment functions return 0 (success) or -EBUSY (failure)
This patch doesn't change any behavior; it just makes the return
values more conventional.

This changes pnp_assign_dma() from a void function to one that
returns an int, just like the other assignment functions.  For
now, at least, pnp_assign_dma() always returns 0 (success), so
it appears to never fail, just like before.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-07-16 23:27:07 +02:00
..
isapnp PNP: introduce pnp_irq_mask_t typedef 2008-07-16 23:27:06 +02:00
pnpacpi PNP: introduce pnp_irq_mask_t typedef 2008-07-16 23:27:06 +02:00
pnpbios PNP: introduce pnp_irq_mask_t typedef 2008-07-16 23:27:06 +02:00
base.h PNP: increase I/O port & memory option address sizes 2008-07-16 23:27:06 +02:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
driver.c PNP: change pnp_add_id() to allocate its own pnp_id structures 2008-04-29 03:22:16 -04:00
interface.c PNP: increase I/O port & memory option address sizes 2008-07-16 23:27:06 +02:00
Kconfig
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
manager.c PNP: make resource assignment functions return 0 (success) or -EBUSY (failure) 2008-07-16 23:27:07 +02:00
quirks.c PNP: introduce pnp_irq_mask_t typedef 2008-07-16 23:27:06 +02:00
resource.c PNP: increase I/O port & memory option address sizes 2008-07-16 23:27:06 +02:00
support.c PNP: in debug resource dump, make empty list obvious 2008-07-16 23:27:06 +02:00
system.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00