|
@@ -5444,7 +5444,7 @@ static int atlas7_pinmux_probe(struct platform_device *pdev)
|
|
pmx->regs[idx] = of_iomap(np, idx);
|
|
pmx->regs[idx] = of_iomap(np, idx);
|
|
if (!pmx->regs[idx]) {
|
|
if (!pmx->regs[idx]) {
|
|
dev_err(&pdev->dev,
|
|
dev_err(&pdev->dev,
|
|
- "can't map ioc bank#%d registers\n", idx);
|
|
|
|
|
|
+ "can't map ioc bank#%d registers\n", idx);
|
|
ret = -ENOMEM;
|
|
ret = -ENOMEM;
|
|
goto unmap_io;
|
|
goto unmap_io;
|
|
}
|
|
}
|
|
@@ -6057,8 +6057,8 @@ static int atlas7_gpio_probe(struct platform_device *pdev)
|
|
ret = gpiochip_add_data(chip, a7gc);
|
|
ret = gpiochip_add_data(chip, a7gc);
|
|
if (ret) {
|
|
if (ret) {
|
|
dev_err(&pdev->dev,
|
|
dev_err(&pdev->dev,
|
|
- "%s: error in probe function with status %d\n",
|
|
|
|
- np->name, ret);
|
|
|
|
|
|
+ "%s: error in probe function with status %d\n",
|
|
|
|
+ np->name, ret);
|
|
goto failed;
|
|
goto failed;
|
|
}
|
|
}
|
|
|
|
|