diff options
| author | Tomasz Figa <[email protected]> | 2014-09-23 21:05:37 +0200 |
|---|---|---|
| committer | Tomasz Figa <[email protected]> | 2014-11-09 21:10:28 +0900 |
| commit | 87993273feb7f9379ec79cd9c25d195c4b93b7da (patch) | |
| tree | 165dbeaee908c8599aed7595dac4d8fd4d57236f /net/switchdev/switchdev.c | |
| 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 <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions