Files
linux/arch/mips/kernel
Julia Lawall ecb983790f MIPS: 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>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: kernel-janitors@vger.kernel.org
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2020-01-10 11:31:16 -08:00
..
2019-10-02 14:06:41 -07:00
2018-10-31 08:54:16 -07:00
2019-08-26 11:42:40 +01:00
2018-08-31 11:49:20 -07:00
2020-01-10 11:31:16 -08:00
2019-11-11 10:44:52 -08:00
2019-07-25 21:45:05 -07:00
2018-10-31 08:54:16 -07:00
2018-12-03 13:42:38 -08:00