drm/i915: Return -ENOENT when a mode object can't be found
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Oct 2013 10:35:03 +0000 (13:35 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:25:19 +0000 (13:25 +1000)
commit3f2c20572ac6164ba3ce6f4e92bf9d5abe1543ac
treead496803ba0bbe38d64030d7c0cede6ab922d3f9
parent4f224661096ca0d945324d661cf7c897ac6eb8e7
drm/i915: Return -ENOENT when a mode object can't be found

Let's be a bit more consistent with our error values.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_sprite.c