Linus Walleij e226e3c33a gpio: amd-fch: Fix type error found by sparse
Sparse complains:

gpio-amd-fch.c:45:27: sparse: expected void *
gpio-amd-fch.c:45:27: sparse: got void [noderef] <asn:2> *
gpio-amd-fch.c:45:27: sparse: warning: incorrect type in return
		              expression (different address spaces)
gpio-amd-fch.c:56:9: sparse:  expected void const volatile [noderef]
		              <asn:2> *addr
gpio-amd-fch.c:56:9: sparse:  expected void volatile [noderef] <asn:2> *addr
gpio-amd-fch.c:56:9: sparse:  got void *ptr
gpio-amd-fch.c:56:9: sparse:  warning: incorrect type in argument 1 (different address spaces)

I think it is because void * is returned rather than void __iomem *,
so fix it up.

Cc: Enrico Weigelt <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-03-01 09:08:55 +01:00
..
2018-12-21 11:41:00 +01:00
2018-03-19 01:50:07 +01:00
2019-02-17 21:59:33 +01:00
2018-05-16 14:35:24 +02:00
2018-08-10 23:19:17 +02:00
2018-12-14 14:27:41 +01:00
2019-02-14 15:14:37 +01:00
2019-02-17 21:59:33 +01:00
2017-12-22 15:24:31 +01:00
2018-08-29 08:53:37 +02:00
2018-01-09 14:51:00 +01:00
2018-09-17 10:55:24 -07:00
2019-02-17 21:59:33 +01:00
2019-02-17 21:59:33 +01:00
2019-02-22 17:26:52 +01:00
2019-02-22 17:26:52 +01:00
2018-11-05 08:54:40 +01:00