]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 18 May 2018 16:51:32 +0000 (18:51 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jul 2018 08:06:29 +0000 (18:06 +1000)
commit01981aeb4745e31e0842b6f9f98be9b99615db3c
tree1cb6b40e00d52ee5d6c19a6fee3c3b3dd7df0fb0
parent7a26c92367a7195277bf663eca69c55b863b4d7b
drm/nouveau/kms/nv50-: fix drm-get-put.cocci warnings

 Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and
 drm_*_unreference() helpers.

Generated by: scripts/coccinelle/api/drm-get-put.cocci

Fixes: 30ed49b55b6e ("drm/nouveau/kms/nv50-: move code underneath dispnv50/")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c