diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2024-02-15 09:53:14 +0100 |
---|---|---|
committer | Chun-Kuang Hu <[email protected]> | 2024-02-19 14:46:46 +0000 |
commit | 5c985686d87b51157a16df533509cce90f8fb386 (patch) | |
tree | 8ea7cded4c5201a99194e3ba3407986313595d69 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | e4732b590a77318dff134612b013d66d2448ab20 (diff) |
drm/mediatek: dsi: Simplify with dev_err_probe and remove gotos
Most of the functions that are called in the probe callback are
devm managed, or all but mipi_dsi_host_register(): simplify the probe
function's error paths with dev_err_probe() and remove the lonely
instance of `goto err_unregister_host` by just directly calling the
mipi_dsi_host_unregister() function in the devm_request_irq() error
path, allowing to also remove the same label.
Reviewed-by: Alexandre Mergnat <[email protected]>
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions