commit | b4229fc67d9b9d8910ad32c508fd94518bd01194 | [log] [tgz] |
---|---|---|
author | Wambui Karuga <wambui.karugax@gmail.com> | Tue Dec 31 23:57:34 2019 +0300 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Jan 15 10:49:59 2020 +1000 |
tree | 3729973efbd97578883d2f92618739894667971f | |
parent | cd04e4ffd5c4d05d2a3eb0827fe481274dc4a8ef [diff] |
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>