diff options
author | Philipp Zabel <[email protected]> | 2021-03-05 10:08:27 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-03-30 11:42:02 +0200 |
commit | 95211a98e3b202479d81026ceeae58529bbc4d02 (patch) | |
tree | 4ad3d005766a882f24f16370725312a387493b3e /scripts/clang-tools/gen_compile_commands.py | |
parent | 8c87dab92f90c4c8f45d7ac302da878e269d3695 (diff) |
mmc: sdhci-st: simplify optional reset handling
As of commit bb475230b8e5 ("reset: make optional functions really
optional"), the reset framework API calls use NULL pointers to describe
optional, non-present reset controls.
This allows to return errors from devm_reset_control_get_optional and to
call reset_control_(de)assert unconditionally.
Signed-off-by: Philipp Zabel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions