drm/msm: Remove DRM_MSM_NUM_IOCTLS
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 8 May 2017 20:34:59 +0000 (14:34 -0600)
committerRob Clark <robdclark@gmail.com>
Fri, 16 Jun 2017 15:15:46 +0000 (11:15 -0400)
commit167b606aa262270ab6aeb5700adca6b1f33da26a
treed3079b87ec1cdee3a2ef53b909437bed022c772a
parent7c65817e6d38fad8ed4ae8632b3615980a2197b4
drm/msm: Remove DRM_MSM_NUM_IOCTLS

The ioctl array is sparsely populated but the compiler will make sure
that it is sufficiently sized for all the values that we have so we
can safely use ARRAY_SIZE() instead of having a constantly changing
#define in the uapi header.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c
include/uapi/drm/msm_drm.h