drm/msm/adreno: change adreno_is_* functions to accept const argument
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 11 Apr 2023 16:19:03 +0000 (19:19 +0300)
committerRob Clark <robdclark@chromium.org>
Sat, 10 Jun 2023 14:19:56 +0000 (07:19 -0700)
commit1b90e8f8879c64d4f77dd1f25134397ac075b7bd
tree0c30ffcd2df9152f9ed67552606b0489657130c1
parentcc943f43ece7be313617ccb8425c31e02b73cbbe
drm/msm/adreno: change adreno_is_* functions to accept const argument

All adreno_is_*() functions do not modify their argument in any way, so
they can be changed to accept const struct adreno_gpu pointer.

Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/531706/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.h