diff options
author | 2022-01-24 13:09:15 +0100 | |
---|---|---|
committer | 2022-02-02 08:32:27 -0700 | |
commit | ae6062c4abdbf44c9cbae95805180e2fa1442b57 (patch) | |
tree | dacfa5c71f376bbf0411a9ecae660a73ddf36967 /scripts/gdb/linux/utils.py | |
parent | remoteproc: mtk_scp: Reorder scp_probe() sequence (diff) | |
download | wireguard-linux-ae6062c4abdbf44c9cbae95805180e2fa1442b57.tar.xz wireguard-linux-ae6062c4abdbf44c9cbae95805180e2fa1442b57.zip |
remoteproc: mtk_scp: Use dev_err_probe() where possible
Simplify the probe function, where possible, by using dev_err_probe().
While at it, as to increase human readability, also remove some
unnecessary forced void pointer casts that were previously used in
error checking.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220124120915.41292-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions