[PATCH] drm: add 'count' to struct drm_object_properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni This way, we don't need to count every time, so we're a little bit faster and code is a little bit smaller. Change suggested by Ville Syrj?l?. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 64 +++- include/drm/drm_crt

[PATCH] drm: add 'count' to struct drm_object_properties

2012-05-15 Thread Paulo Zanoni
From: Paulo Zanoni This way, we don't need to count every time, so we're a little bit faster and code is a little bit smaller. Change suggested by Ville Syrjälä. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/drm_crtc.c | 64 +++- include/drm/drm_crt