aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorMateusz Majewski <m.majewski2@samsung.com>2023-10-06 14:55:55 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-10-09 12:37:21 +0200
commitbf128c1f0fe1fd4801fb84660c324095990c533a (patch)
tree5e548957e7b8a0ddc3837efd64d701e04aa5b2cd /drivers/cdx/controller/cdx_controller.c
parent2aca5c591ef4ecc4bcb9be3c9a9360d3d5238866 (diff)
pinctrl: samsung: use add_pin_ranges method to add pinctrl ranges
This is preferable since we can read the base in the global GPIO numberspace from the chip instead of needing to select it ourselves. Past versions could not do this, since they needed to add all the ranges before enabling the pinctrl subsystem, which was done before registering the GPIO chip. However, right now we enable the pinctrl subsystem after registering the chip and so this became possible. Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Tested-by: Sam Protsenko <semen.protsenko@linaro.org> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20231006125557.212681-3-m.majewski2@samsung.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions