drm/radeon: Return -ENOENT when a mode object can't be found
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Oct 2013 10:35:04 +0000 (13:35 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:25:20 +0000 (13:25 +1000)
commit10e10d34eec680490ccba7f9d53ffd0816f107f6
treecf4a7fd85c20b2fb71253be1d376b0db398954d8
parent3f2c20572ac6164ba3ce6f4e92bf9d5abe1543ac
drm/radeon: 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/radeon/r100.c
drivers/gpu/drm/radeon/r600_cs.c