OF: Retire dma-ranges mask workaround
authorRobin Murphy <robin.murphy@arm.com>
Fri, 19 Apr 2024 16:54:40 +0000 (17:54 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 26 Apr 2024 10:07:22 +0000 (12:07 +0200)
commit0c3457926e7e65710f32e02920c7d423417c93a2
treeac3d2181713e7c940e792d4b605b16df6767acc1
parentd2f85a263883b679f87ed8f911746105658e9c47
OF: Retire dma-ranges mask workaround

The fixup adding 1 to the dma-ranges size may have been for the benefit
of some early AMD Seattle DTs, or may have merely been a just-in-case,
but either way anyone who might have deserved to get the message has
hopefully seen the warning in the 9 years we've had it there. The modern
dma_range_map mechanism should happily handle odd-sized ranges with no
ill effect, so there's little need to care anyway now. Clean it up.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/26620039901fdae52079ec1c8a4b2b324964a13e.1713523152.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/of/device.c