diff options
author | 2013-10-31 10:07:51 +1000 | |
---|---|---|
committer | 2013-11-08 15:40:00 +1000 | |
commit | 2d976e3d641bfadeb21e9db49cab9cbe128a466e (patch) | |
tree | 8ed4e05c3a992769aa835cbdc40b2f4cbd498322 | |
parent | drm/nouveau/drm/pm: remove everything except the hwmon interfaces to THERM (diff) | |
download | linux-dev-2d976e3d641bfadeb21e9db49cab9cbe128a466e.tar.xz linux-dev-2d976e3d641bfadeb21e9db49cab9cbe128a466e.zip |
drm/nouveau/gpio: return different error code for not found vs invalid
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/gpio/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c b/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c index d422acc9af15..f572c2804c32 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c @@ -67,7 +67,7 @@ nouveau_gpio_find(struct nouveau_gpio *gpio, int idx, u8 tag, u8 line, } } - return -EINVAL; + return -ENOENT; } static int |