diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-06-09 17:39:49 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-10 03:36:17 +0400 |
commit | f95aeb17f57c4c98b7f33627e5f51353fd094a93 (patch) | |
tree | 4c821c2597989284072e77f9be08beb03fb4c4f3 /drivers/gpu/drm/savage | |
parent | 10d9b4ed3077df3288daff730173939fdf7d3183 (diff) | |
download | linux-f95aeb17f57c4c98b7f33627e5f51353fd094a93.tar.xz |
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/savage')
-rw-r--r-- | drivers/gpu/drm/savage/savage_bci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c index d2b2df9e26f3..c97cdc9ab239 100644 --- a/drivers/gpu/drm/savage/savage_bci.c +++ b/drivers/gpu/drm/savage/savage_bci.c @@ -1079,4 +1079,4 @@ const struct drm_ioctl_desc savage_ioctls[] = { DRM_IOCTL_DEF_DRV(SAVAGE_BCI_EVENT_WAIT, savage_bci_event_wait, DRM_AUTH), }; -int savage_max_ioctl = DRM_ARRAY_SIZE(savage_ioctls); +int savage_max_ioctl = ARRAY_SIZE(savage_ioctls); |