commit | 87993273feb7f9379ec79cd9c25d195c4b93b7da | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tomasz.figa@gmail.com> | Tue Sep 23 21:05:37 2014 +0200 |
committer | Tomasz Figa <tomasz.figa@gmail.com> | Sun Nov 09 21:10:28 2014 +0900 |
tree | 165dbeaee908c8599aed7595dac4d8fd4d57236f | |
parent | 6e08d6bbebebcf70f982d7190c4b6dc456cedd57 [diff] |
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>