Re: [PATCH 05/17] drm/msm/mdp5: use devres-managed allocation for pipe 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 pipe data structure. This allows us
to remove corresponding kfree and drop mdp5_pipe_destroy() function.

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


Reviewed-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux