Skip to content
Snippets Groups Projects
Commit 2d976e3d authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/gpio: return different error code for not found vs invalid


Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b9ed919f
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ nouveau_gpio_find(struct nouveau_gpio *gpio, int idx, u8 tag, u8 line,
}
}
return -EINVAL;
return -ENOENT;
}
static int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment