diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-tegra.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra.c b/drivers/pinctrl/pinctrl-tegra.c index a2e93a2b5ff4..e767355ab0ad 100644 --- a/drivers/pinctrl/pinctrl-tegra.c +++ b/drivers/pinctrl/pinctrl-tegra.c | |||
@@ -645,7 +645,7 @@ int tegra_pinctrl_probe(struct platform_device *pdev, | |||
645 | GFP_KERNEL); | 645 | GFP_KERNEL); |
646 | if (!pmx->regs) { | 646 | if (!pmx->regs) { |
647 | dev_err(&pdev->dev, "Can't alloc regs pointer\n"); | 647 | dev_err(&pdev->dev, "Can't alloc regs pointer\n"); |
648 | return -ENODEV; | 648 | return -ENOMEM; |
649 | } | 649 | } |
650 | 650 | ||
651 | for (i = 0; i < pmx->nbanks; i++) { | 651 | for (i = 0; i < pmx->nbanks; i++) { |