drm/nouveau: use NULL for pointer assignment.
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 31 Dec 2019 20:57:34 +0000 (23:57 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:59 +0000 (10:49 +1000)
commitb4229fc67d9b9d8910ad32c508fd94518bd01194
tree3729973efbd97578883d2f92618739894667971f
parentcd04e4ffd5c4d05d2a3eb0827fe481274dc4a8ef
drm/nouveau: use NULL for pointer assignment.

Replace the use of 0 in the pointer assignment with NULL to address the
following sparse warning:
drivers/gpu/drm/nouveau/nouveau_hwmon.c:744:29: warning: Using plain integer as NULL pointer

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_hwmon.c