drm/msm/dpu: make dpu_format_populate_addrs return void

The function msm_framebuffer_iova() can not fail, it always returns a
valid address. Drop the useless checks (that were already performed at
the time) and make dpu_format_populate_addrs() return void.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/612247/
Link: https://lore.kernel.org/r/20240903-dpu-mode-config-width-v6-11-617e1ecc4b7a@linaro.org
This commit is contained in:
Dmitry Baryshkov 2024-09-03 06:22:54 +03:00
commit 4f3ec1e5e1
4 changed files with 21 additions and 71 deletions