diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-06-27 22:57:09 (GMT) |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 21:27:07 (GMT) |
commit | 6e906f0e1c8633ed357a64e9861f1822789bee3d (patch) | |
tree | c28af871686799724ebdbc335cecfee639d713bb /drivers/pnp/pnpacpi | |
parent | 819beac3806a5e986d81f476b999b7fffce1a233 (diff) | |
download | linux-fsl-qoriq-6e906f0e1c8633ed357a64e9861f1822789bee3d.tar.xz |
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>
Diffstat (limited to 'drivers/pnp/pnpacpi')
0 files changed, 0 insertions, 0 deletions