diff options
| -rw-r--r-- | drivers/pinctrl/zte/pinctrl-zx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/zte/pinctrl-zx.c b/drivers/pinctrl/zte/pinctrl-zx.c index caa44dd2880a..3cb69309912b 100644 --- a/drivers/pinctrl/zte/pinctrl-zx.c +++ b/drivers/pinctrl/zte/pinctrl-zx.c | |||
| @@ -411,6 +411,7 @@ int zx_pinctrl_init(struct platform_device *pdev, | |||
| 411 | } | 411 | } |
| 412 | 412 | ||
| 413 | zpctl->aux_base = of_iomap(np, 0); | 413 | zpctl->aux_base = of_iomap(np, 0); |
| 414 | of_node_put(np); | ||
| 414 | if (!zpctl->aux_base) | 415 | if (!zpctl->aux_base) |
| 415 | return -ENOMEM; | 416 | return -ENOMEM; |
| 416 | 417 | ||
