drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()
authorTian Tao <tiantao6@hisilicon.com>
Thu, 2 Jul 2020 07:49:43 +0000 (15:49 +0800)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 2 Jul 2020 08:00:17 +0000 (10:00 +0200)
commitcdf01268bc235199791e5ee2489c5c3c31fd7391
treeffdc7cd5fb6508cb675f1f11bca62a1892fd6631
parentc8a753484066a6382d2539d3dca1428164a682bf
drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

using the new API drmm_kzalloc() instead of devm_kzalloc()

v3:
still fixed include statements sorted alphabetically.

v2:
keep the DRM include statements sorted alphabetically.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1593676183-28525-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c