powerpc/pseries/iommu: Cleanup ddw naming
authorMilton Miller <miltonm@bga.com>
Wed, 11 May 2011 12:25:00 +0000 (12:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 07:25:28 +0000 (17:25 +1000)
commitb73a635f348610304eee543d733a6277f67ba178
treebd401ccf03f8d1ed524d83eba8089ea5bf5198f8
parentc85667802bb5093c4054f8a887a90dd0acf82d3e
powerpc/pseries/iommu: Cleanup ddw naming

When using a property refering to the availibily of dynamic dma windows
call it ddw_avail not ddr_avail.

dupe_ddw_if_already_created does not dupilcate anything, it only finds
and reuses the windows we already created, so rename it to
find_existing_ddw.  Also, it does not need the pci device node, so
remove that argument.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c