]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit003da3105674f43e8e21b4f0e0d0580bd43c0b45
treeffdc7cd5fb6508cb675f1f11bca62a1892fd6631
parentb4832b45378086e2bdb19bdf0e0ff6bdc313016e
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