projects
/
profile
/
common
/
kernel-common.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
d422acc
..
f572c28
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