diff options
author | Mateusz Majewski <[email protected]> | 2023-10-06 14:55:54 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2023-10-09 12:37:20 +0200 |
commit | 2aca5c591ef4ecc4bcb9be3c9a9360d3d5238866 (patch) | |
tree | bf434053314a53e0a38422dc7f61d3396eacc92f /scripts/generate_rust_analyzer.py | |
parent | 4e1e21117e7e1275477ba80e634c769a511249bd (diff) |
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 <[email protected]>
Reviewed-by: Sam Protsenko <[email protected]>
Tested-by: Sam Protsenko <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions