diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-01-24 13:09:15 +0100 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-02-02 16:32:27 +0100 |
commit | ae6062c4abdbf44c9cbae95805180e2fa1442b57 (patch) | |
tree | dacfa5c71f376bbf0411a9ecae660a73ddf36967 /lib/win_minmax.c | |
parent | remoteproc: mtk_scp: Reorder scp_probe() sequence (diff) | |
download | linux-ae6062c4abdbf44c9cbae95805180e2fa1442b57.tar.xz 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 'lib/win_minmax.c')
0 files changed, 0 insertions, 0 deletions