diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2014-09-23 21:05:37 +0200 |
---|---|---|
committer | Tomasz Figa <tomasz.figa@gmail.com> | 2014-11-09 21:10:28 +0900 |
commit | 87993273feb7f9379ec79cd9c25d195c4b93b7da (patch) | |
tree | 165dbeaee908c8599aed7595dac4d8fd4d57236f /drivers/pinctrl/sh-pfc | |
parent | 6e08d6bbebebcf70f982d7190c4b6dc456cedd57 (diff) | |
download | linux-87993273feb7f9379ec79cd9c25d195c4b93b7da.tar.bz2 |
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: Tomasz Figa <tomasz.figa@gmail.com>
Diffstat (limited to 'drivers/pinctrl/sh-pfc')
0 files changed, 0 insertions, 0 deletions