On 13/02/2023 14:10, Konrad Dybcio wrote:
In preparation for supporting multiple sets of possible base registers,
remove the num_dsi variable. We're comparing the io_start array contents
with the reg value from the DTS, so it will either match one of the
expected values or don't match against a zero (which we get from partial
array initialization).

Signed-off-by: Konrad Dybcio <konrad.dyb...@linaro.org>
---
  drivers/gpu/drm/msm/dsi/dsi_cfg.c  | 13 -------------
  drivers/gpu/drm/msm/dsi/dsi_cfg.h  |  1 -
  drivers/gpu/drm/msm/dsi/dsi_host.c |  2 +-
  3 files changed, 1 insertion(+), 15 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>

--
With best wishes
Dmitry

Reply via email to