]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panel/vvx10f034n00: Use refcounted allocation in place of devm_kzalloc()
authorAnusha Srivatsa <asrivats@redhat.com>
Fri, 11 Jul 2025 04:31:14 +0000 (23:31 -0500)
committerMaxime Ripard <mripard@kernel.org>
Wed, 16 Jul 2025 14:58:09 +0000 (16:58 +0200)
commit8e4e733d9543061b4a988077d119d298c56e3bef
treee403dab4e54fb780638319b66732f9df86b5552e
parent6299cb4a211caeb7d2d8cec091e256e5ad428730
drm/panel/vvx10f034n00: Use refcounted allocation in place of devm_kzalloc()

Move to using the new API devm_drm_panel_alloc() to allocate the
panel. In the call to the new API, avoid using explicit type and use
__typeof() for more type safety.

Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://lore.kernel.org/r/20250710-b4-driver-convert-last-part-july-v1-3-de73ba81b2f5@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c