drm/drm_pci.c: Use dma_zalloc_coherent
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 23 Oct 2018 04:02:22 +0000 (09:32 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Oct 2018 13:59:01 +0000 (15:59 +0200)
commit068f304781804e208f901d8f6083189e0e28c420
tree3dd9287be2b2a9d0cd593b01c808fd33ffdfc7b7
parent32e932e37e6b6e13b66add307192c7ddd40a781d
drm/drm_pci.c: Use dma_zalloc_coherent

Replace dma_alloc_coherent + memset with dma_zalloc_coherent.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181023040222.GA1540@jordon-HP-15-Notebook-PC
drivers/gpu/drm/drm_pci.c