Commit 2d976e3d authored by Ben Skeggs's avatar Ben Skeggs

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

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