]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix the coding style issue of integrated_info
authorHuang Rui <ray.huang@amd.com>
Fri, 15 Jan 2021 21:49:44 +0000 (05:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jan 2021 20:23:23 +0000 (15:23 -0500)
commit29600772a876292a11dd2ee8e92b1d3afa9e46e4
treec6abdf350642a8a8055cac0143a1978d0ad85ec8
parent581ffe921526e34c394a44353022ec2ed1e47788
drm/amd/display: fix the coding style issue of integrated_info

Follow the coding style of size of a struct, changing to:

p = kmalloc(sizeof(*p), ...);

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c