Sergei Shtylyov 5a24d4b601 gpio-rcar: use devm_ioremap_resource()
Using devm_ioremap_resource() has several advantages over devm_ioremap():
- it checks the passed resource's validity;
- it calls devm_request_mem_region() to check for the resource overlap;
- it prints an error message in case of error.

We can call devm_ioremap_resource() instead of devm_ioremap_nocache()
as ioremap() and ioremap_nocache()  are implemented identically on ARM.
Doing this saves 2 LoCs and 80 bytes (AArch64 gcc 4.8.5).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-10-31 09:52:13 +01:00
..
2017-08-14 15:01:13 +02:00
2016-03-30 10:38:51 +02:00
2017-10-25 11:25:10 +02:00
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2017-05-22 17:18:19 +02:00
2016-12-30 09:18:10 +01:00
2017-08-31 13:57:57 +02:00
2016-09-13 10:35:56 +02:00
2016-12-30 09:18:10 +01:00
2017-08-14 15:03:39 +02:00
2017-03-16 21:52:10 +01:00
2017-08-23 09:21:54 +02:00
2017-08-14 15:01:13 +02:00
2017-10-20 09:37:32 +02:00
2017-10-20 09:37:32 +02:00
2017-10-20 09:37:32 +02:00