Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 627df4bc authored by Sachin Kamat's avatar Sachin Kamat Committed by Rusty Russell
Browse files

sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO



PTR_RET is now deprecated. Use PTR_ERR_OR_ZERO instead.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 28ce4201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ static int sh_veu_context_init(struct sh_veu_dev *veu)
	veu->m2m_ctx = v4l2_m2m_ctx_init(veu->m2m_dev, veu,
					 sh_veu_queue_init);

	return PTR_RET(veu->m2m_ctx);
	return PTR_ERR_OR_ZERO(veu->m2m_ctx);
}

static int sh_veu_querycap(struct file *file, void *priv,