提交 2d976e3d 编写于 作者: B Ben Skeggs

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

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册