drm/nouveau: use drm_property_create_range helper
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 27 Jan 2013 15:43:00 +0000 (16:43 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:38 +0000 (16:00 +1000)
commit03e9a04050f5333c779ed37c027a6aae5644cf6c
treee801e9966acc682c8c30b11c556528c71d265362
parentb5d8f05204da22ec896145729eea1f875085126b
drm/nouveau: use drm_property_create_range helper

Avoids potential null pointer dereference.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c