drm: Don't create properties without names
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 2 Mar 2018 13:25:42 +0000 (15:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Mar 2018 16:01:59 +0000 (18:01 +0200)
commit8e5e83ad8250043c8d5cc8f2bf672e64c43f948a
tree851e6884dc5f6dbca19d94b1e6f9fa991591365c
parent9c305eb442f3b371fc722ade827bbf673514123e
drm: Don't create properties without names

Creating a property that doesn't have a name makes no sense to me. Don't
allow it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180302132544.12491-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_property.c