Re: [PATCH 06/17] drm/msm/mdp5: use devres-managed allocation for SMP data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/7/2023 6:03 PM, Dmitry Baryshkov wrote:
Use devm_kzalloc to create SMP data structure. This allows us
to remove corresponding kfree and drop mdp5_smp_destroy() function.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
  drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c |  3 ---
  drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c | 19 ++++---------------
  drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h |  1 -
  3 files changed, 4 insertions(+), 19 deletions(-)


Reviewed-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux