From: Bjorn Helgaas Date: Fri, 27 Jun 2008 22:57:09 +0000 (-0600) Subject: PNP: make resource assignment functions return 0 (success) or -EBUSY (failure) X-Git-Tag: v2.6.27-rc1~1050^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e906f0e1c8633ed357a64e9861f1822789bee3d;p=pandora-kernel.git 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 Signed-off-by: Andi Kleen Acked-by: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed