Julia Lawall 552aa08694 powerpc/powernv: use resource_size
Use resource_size rather than a verbose computation on
the end and start fields.

The semantic patch that makes these changes is as follows:
(http://coccinelle.lip6.fr/)

<smpl>
@@ struct resource ptr; @@
- (ptr.end - ptr.start + 1)
+ resource_size(&ptr)
</smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1577900990-8588-11-git-send-email-Julia.Lawall@inria.fr
2020-01-07 22:04:40 +11:00
..
2019-12-09 10:36:44 -08:00
2019-12-18 17:47:38 +01:00
2019-11-28 11:16:43 -08:00
2020-01-04 13:55:09 -08:00
2020-01-04 14:16:57 -08:00
2019-12-12 16:34:33 +08:00
2019-12-02 17:18:43 -08:00
2019-12-09 10:36:44 -08:00
2019-11-28 10:57:12 -08:00
2019-12-04 19:44:12 -08:00