]> git.ipfire.org Git - thirdparty/linux.git/commit
panel/widechips-ws2401: Use refcounted allocation in place of devm_kzalloc()
authorAnusha Srivatsa <asrivats@redhat.com>
Fri, 30 May 2025 02:46:43 +0000 (21:46 -0500)
committerMaxime Ripard <mripard@kernel.org>
Mon, 2 Jun 2025 07:22:07 +0000 (09:22 +0200)
commit6f9bc3d071aa8c636c76d394135c0a14eddb61ca
tree58da5ab9bf323c8ba33d2be694a586f4332d5129
parent9d104921f6d004b9e5be00b7ef26b0d4bb2cd6c5
panel/widechips-ws2401: Use refcounted allocation in place of devm_kzalloc()

Move to using the new API devm_drm_panel_alloc() to allocate the
panel.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-41-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/panel/panel-widechips-ws2401.c