diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-16 21:04:20 +0200 |
---|---|---|
committer | Liu Ying <victor.liu@nxp.com> | 2019-09-17 10:29:12 +0800 |
commit | 80d9c52eab5455f8f395cd0a86383f9eb873bacc (patch) | |
tree | 8212ede75599428c30c5717cbb5b29a75bb0e2ad /include/linux/rpmsg | |
parent | 25174baf0bc6a00f41a0fec92d84a1672eb7c66e (diff) |
drm: Don't pass the index to drm_property_add_enum()
drm_property_add_enum() can calculate the index itself just fine,
so no point in having the caller pass it in.
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180316190420.26734-1-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
(cherry picked from commit 30e9db6d046ba667070e5a011a13951830d60a6e)
Diffstat (limited to 'include/linux/rpmsg')
0 files changed, 0 insertions, 0 deletions