[PATCH 15/20] drm: add convenience function to create an range property

2012-02-01 Thread Sascha Hauer
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 --- drivers/gpu/drm/drm_crtc.c| 69 - drivers/gpu/drm/gma500/framebuffer.c |5 +-- drivers/gpu

[PATCH 15/20] drm: add convenience function to create an range property

2012-02-01 Thread Chris Wilson
On Wed, 1 Feb 2012 11:38:33 +0100, Sascha Hauer wrote: > Creating a range property is a common pattern, so create > a convenience function for this and use it where appropriate. This is pure bikeshedding, but I would prefer drm_property_create_range as the object being created is the drm_proper

Re: [PATCH 15/20] drm: add convenience function to create an range property

2012-02-01 Thread Chris Wilson
On Wed, 1 Feb 2012 11:38:33 +0100, Sascha Hauer wrote: > Creating a range property is a common pattern, so create > a convenience function for this and use it where appropriate. This is pure bikeshedding, but I would prefer drm_property_create_range as the object being created is the drm_propert

[PATCH 15/20] drm: add convenience function to create an range property

2012-02-01 Thread Sascha Hauer
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 --- drivers/gpu/drm/drm_crtc.c| 69 - drivers/gpu/drm/gma500/framebuffer.c |5 +-- drivers/gpu