diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2022-01-24 13:09:15 +0100 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2022-02-02 08:32:27 -0700 |
commit | ae6062c4abdbf44c9cbae95805180e2fa1442b57 (patch) | |
tree | dacfa5c71f376bbf0411a9ecae660a73ddf36967 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 77c792b91208b28ad5f09771f990a8d0278e7f29 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions