drm/ttm: Fix a few sparse warnings
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 11:15:51 +0000 (13:15 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 22 Jul 2014 00:58:21 +0000 (10:58 +1000)
The final parameter to ttm_bo_reserve() is a pointer, therefore callers
should use NULL instead of 0.

Fixes a bunch of sparse warnings of this type:

warning: Using plain integer as NULL pointer

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found