linux/drivers/pinctrl/samsung
Krzysztof Kozlowski a453f3693f pinctrl: samsung: Explicitly cast pointer returned by of_iomap() to iomem
For S5Pv210 retention control, the driver stores the iomem pointer from
of_iomap() under a void pointer member.  This makes sparse unhappy:

    drivers/pinctrl/samsung/pinctrl-exynos.c:664:36: warning: incorrect type in argument 1 (different address spaces)
    drivers/pinctrl/samsung/pinctrl-exynos.c:664:36:    expected void const volatile [noderef] <asn:2>*addr
    drivers/pinctrl/samsung/pinctrl-exynos.c:664:36:    got void *

The iomem pointer is used safely (stored under priv by
s5pv210_retention_init(), used by s5pv210_retention_disable()) thus we
can add explicit casts to iomem to silence the warning.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-06-07 20:40:48 +02:00
..
Kconfig pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8 2017-06-07 20:40:47 +02:00
Makefile pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8 2017-06-07 20:40:47 +02:00
pinctrl-exynos5440.c pinctrl: samsung: Clean up modular vs. non-modular distinctions 2017-05-23 16:49:17 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8 2017-06-07 20:40:47 +02:00
pinctrl-exynos-arm.c pinctrl: samsung: Explicitly cast pointer returned by of_iomap() to iomem 2017-06-07 20:40:48 +02:00
pinctrl-exynos.c pinctrl: samsung: Handle memory allocation failure during wakeup banks init 2017-06-07 20:40:48 +02:00
pinctrl-exynos.h pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8 2017-06-07 20:40:47 +02:00
pinctrl-s3c24xx.c pinctrl: samsung: Clean up modular vs. non-modular distinctions 2017-05-23 16:49:17 +02:00
pinctrl-s3c64xx.c pinctrl: samsung: Clean up modular vs. non-modular distinctions 2017-05-23 16:49:17 +02:00
pinctrl-samsung.c pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8 2017-06-07 20:40:47 +02:00
pinctrl-samsung.h pinctrl: samsung: Add infrastructure for pin-bank retention control 2017-01-26 16:35:50 +01:00