]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove unnecessary cast and use kcalloc instead of kzalloc
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Nov 2017 15:45:09 +0000 (15:45 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:55 +0000 (12:47 -0500)
commite778c1319b627e1aabd7aa00757eb50f593fbfa3
tree42cdd8ac05e655d226d7d9e39368fb5923683e4e
parent01f83e0663a5e731dd59549b5cd13dc1e7a726a6
drm/amd/display: remove unnecessary cast and use kcalloc instead of kzalloc

Use kcalloc instead of kzalloc and the cast on the return from kzalloc is
unnecessary and can be removed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/logger.c