diff options
author | Christophe JAILLET <[email protected]> | 2020-05-30 22:49:55 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-06-03 14:34:21 +0200 |
commit | 11d8da5cabf7c6c3263ba2cd9c00260395867048 (patch) | |
tree | 39b3f1ddf928ccf27c391812996ee6433807c894 /net/ipv4/tcp_input.c | |
parent | 66339f2fba3fa05b0507e1887e4c6abcfc6228a3 (diff) |
pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
'pinctrl_unregister()' should not be called to undo
'devm_pinctrl_register_and_init()', it is already handled by the framework.
This simplifies the error handling paths of the probe function.
The 'imx_free_resources()' can be removed as well.
Fixes: a51c158bf0f7 ("pinctrl: imx: use radix trees for groups and functions")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Dong Aisheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions