diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-06-09 09:39:49 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-09 19:36:17 -0400 |
commit | f95aeb17f57c4c98b7f33627e5f51353fd094a93 (patch) | |
tree | 4c821c2597989284072e77f9be08beb03fb4c4f3 /drivers/gpu/drm/gma500/psb_drv.c | |
parent | 10d9b4ed3077df3288daff730173939fdf7d3183 (diff) |
drm: Remove DRM_ARRAY_SIZE() for ARRAY_SIZE()
I cannot see a need to provide a DRM_ version of ARRAY_SIZE(), only used
in a few places. I suspect its usage has been spread by copy & paste
rather than anything else.
Let's just remove it for plain ARRAY_SIZE().
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.c')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c index 59ea45e5c97e..6e8fe9ec02b5 100644 --- a/drivers/gpu/drm/gma500/psb_drv.c +++ b/drivers/gpu/drm/gma500/psb_drv.c | |||
@@ -477,7 +477,7 @@ static struct drm_driver driver = { | |||
477 | .lastclose = psb_driver_lastclose, | 477 | .lastclose = psb_driver_lastclose, |
478 | .preclose = psb_driver_preclose, | 478 | .preclose = psb_driver_preclose, |
479 | 479 | ||
480 | .num_ioctls = DRM_ARRAY_SIZE(psb_ioctls), | 480 | .num_ioctls = ARRAY_SIZE(psb_ioctls), |
481 | .device_is_agp = psb_driver_device_is_agp, | 481 | .device_is_agp = psb_driver_device_is_agp, |
482 | .irq_preinstall = psb_irq_preinstall, | 482 | .irq_preinstall = psb_irq_preinstall, |
483 | .irq_postinstall = psb_irq_postinstall, | 483 | .irq_postinstall = psb_irq_postinstall, |