drm: add convenience function to create an range property
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 6 Feb 2012 09:58:18 +0000 (10:58 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Feb 2012 10:15:25 +0000 (10:15 +0000)
commitd9bc3c02e36d844c2d980e65ddda5c7699e073f8
tree95de33796245ca8c4e7629ddf22629bcc89f1403
parent4a67d39190315558631d944b1cea4466ed4c86d8
drm: add convenience function to create an range property

Creating a range property is a common pattern, so create
a convenience function for this and use it where appropriate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/psb_intel_sdvo.c
drivers/gpu/drm/i2c/ch7006_drv.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/radeon/radeon_display.c
include/drm/drm_crtc.h