summaryrefslogtreecommitdiff
path: root/drivers/platform/cznic/turris-omnia-mcu-gpio.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-01 13:49:39 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-07-07 09:31:08 +0200
commitbb9c88d5b0fabe05b0ed4b843efe78ac1c4712f0 (patch)
tree68aaea4d86a83765a3e9a8cd48a9c3a158482c9f /drivers/platform/cznic/turris-omnia-mcu-gpio.c
parent094017efe332d411a8d6ac41fd8d0a4f81f72a99 (diff)
ARM: s3c: crag6410: use generic device properties for gpio-mmio
The GPIO device in crag6410 is registered with struct bgpio_pdata passed as platform_data to the gpio-mmio driver. We want to remove the bgpio_pdata from the kernel and the gpio-mmio driver is now also able to get the relevant values from the software node. Set up device properties and switch to using platform_device_info to register the device as platform_add_devices() doesn't allow us to pass device properties to the driver model. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20250701-gpio-mmio-pdata-v2-5-ebf34d273497@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/platform/cznic/turris-omnia-mcu-gpio.c')
0 files changed, 0 insertions, 0 deletions