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

Skip to content
Commit 87993273 authored by Tomasz Figa's avatar Tomasz Figa
Browse files

pinctrl: samsung: Make samsung_pinctrl_get_soc_data use ERR_PTR()



Currently the function returns a valid pointer on success and NULL on
error, so exact error code is lost. This patch changes return convention
of the function to use ERR_PTR() on error instead.

Signed-off-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
parent 6e08d6bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment