diff options
author | Mateusz Majewski <m.majewski2@samsung.com> | 2023-10-06 15:55:54 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-10-09 13:37:20 +0300 |
commit | 2aca5c591ef4ecc4bcb9be3c9a9360d3d5238866 (patch) | |
tree | bf434053314a53e0a38422dc7f61d3396eacc92f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4e1e21117e7e1275477ba80e634c769a511249bd (diff) | |
download | linux-2aca5c591ef4ecc4bcb9be3c9a9360d3d5238866.tar.xz |
pinctrl: samsung: defer pinctrl_enable
dev_pinctrl_register function immediately enables the pinctrl subsystem,
which is unpreferable in general, since drivers might be unable to
handle calls immediately. Hence devm_pinctrl_register_and_init, which
does not call pinctrl_enable, is preferred.
In case of our driver using the old function does not seem to be
problematic for now, but will become an issue when we postpone parts of
pinctrl initialization in a future commit, and it is a good idea to move
off a deprecated-ish function anyway.
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-2-m.majewski2@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions