diff options
author | Dmitry Baryshkov <[email protected]> | 2022-06-25 03:30:28 +0300 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2022-07-04 21:05:28 +0300 |
commit | 2709935b4a9e5b2b97288b391da9fe5aab24c280 (patch) | |
tree | ba8f45e73c587b6a94ec2bcc2706cf8a56fdfedb /lib/mpi/mpi-mod.c | |
parent | b16650478635f06600bd6bc3cc04f09a5c3888af (diff) |
drm/msm/dpu: simplify and unify dpu_encoder_get_intf and dpu_encoder_get_wb
Remove extra nestting level from the dpu_encoder_get_intf(), replacing it
with the explicit return in case the INTF_WB was passed to the function.
While we are at it, also change dpu_encoder_get_wb() to also use
explicit return rather than the goto.
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/491189/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions