]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/iommu: Use permission-specific DEVICE_ATTR variants
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 29 Oct 2016 19:37:02 +0000 (21:37 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:54 +0000 (16:42 +1000)
commit8a7aef2cb3dafd2e8560750f4e5ad2cc2d9b1d17
treeb201da405b2ef2495bd5f82492c98e772d4fba37
parent6ab41161b44a3b4d504ac29c9dd9976890d76a3f
powerpc/iommu: Use permission-specific DEVICE_ATTR variants

Use DEVICE_ATTR_RW for read-write attributes.  This simplifies the
source code, improves readbility, and reduces the chance of
inconsistencies.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/iommu.c