diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-03-16 21:04:20 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-04-27 16:46:50 +0300 |
commit | 30e9db6d046ba667070e5a011a13951830d60a6e (patch) | |
tree | 040bacf9f126ab86af35e54a4edbea1eff725a97 /drivers/regulator/vctrl-regulator.c | |
parent | ebb513adb1bed9a2fa5a9db4363b009ed407879a (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>
Diffstat (limited to 'drivers/regulator/vctrl-regulator.c')
0 files changed, 0 insertions, 0 deletions