diff options
| author | Bjorn Helgaas <[email protected]> | 2008-06-27 16:57:09 -0600 |
|---|---|---|
| committer | Andi Kleen <[email protected]> | 2008-07-16 23:27:07 +0200 |
| commit | 6e906f0e1c8633ed357a64e9861f1822789bee3d (patch) | |
| tree | c28af871686799724ebdbc335cecfee639d713bb /drivers/acpi/utilities/utdebug.c | |
| parent | 819beac3806a5e986d81f476b999b7fffce1a233 (diff) | |
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 <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Acked-by: Rene Herman <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/acpi/utilities/utdebug.c')
0 files changed, 0 insertions, 0 deletions