drm/nouveau/disp: Use NULL for pointers
commit1196bcf92142ad6f022df01ab8120aefa908eaea
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 12:02:58 +0000 (21 14:02 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:09 +0000 (27 18:56 +1000)
treebd5c9457df5d86395b46532901d5ffb9ef664772
parent305c1959ea60ddcae5142a20c50db849a40c2a35
drm/nouveau/disp: Use NULL for pointers

The return type of exec_lookup() is struct nvkm_output *, so it should
return NULL rather than 0.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf110.c