projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ed919
)
drm/nouveau/gpio: return different error code for not found vs invalid
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 31 Oct 2013 00:07:51 +0000
(10:07 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 8 Nov 2013 05:40:00 +0000
(15:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/gpio/base.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c
b/drivers/gpu/drm/nouveau/core/subdev/gpio/base.c
index d422acc9af156bc0ab2cdea474d37d0691e4e9ba..f572c2804c325f01896c061988626eb91b8e2f40 100644
(file)
--- 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 -E
INVAL
;
+ return -E
NOENT
;
}
static int