Re: [PATCH v2 2/2] drm/msm/adreno: change adreno_is_* functions to accept const argument

2023-04-11 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2023-04-11 09:19:03) > 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 > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Stephen Boyd

[PATCH v2 2/2] drm/msm/adreno: change adreno_is_* functions to accept const argument

2023-04-11 Thread Dmitry Baryshkov
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 Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 56 - 1 file changed, 28