powerpc/vas: Use helper to unpin/close window
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Wed, 8 Nov 2017 02:23:45 +0000 (18:23 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Nov 2017 22:03:07 +0000 (09:03 +1100)
commit36a288fe9dab9a6b0b50ffdb5c34f04c42cee2ac
treeb5ca9b26a2ae8732c0a11409a18ea25d19432f21
parent4963ac3632dda7433db5149d6abdfc644a8d8ab2
powerpc/vas: Use helper to unpin/close window

Use a helper to have the hardware unpin and mark a window closed.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/vas-window.c