pinctrl: intel: Remove duplicate error messages
Subsystems (3)
PATCH 1/1 pinctrl: intel: Remove duplicate error messages
The pin control core is covered to report any error via message. Since that it's not needed in the callers.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/intel/pinctrl-intel.c +1 -1
@@ -1680,7 +1680,7 @@ int intel_pinctrl_probe(struct platform_device *pdev, pctrl->pctldev =devm_pinctrl_register (dev, &pctrl->pctldesc, pctrl);if (IS_ERR (pctrl->pctldev)) -return dev_err_probe (dev,PTR_ERR (pctrl->pctldev),"failed to register pinctrl\n" ); +return PTR_ERR (pctrl->pctldev); ret =intel_gpio_probe (pctrl, irq);if (ret)
Signature · 1 line
2.50.1
Quoted 4 lines · Andy Shevchenko
The pin control core is covered to report any error via message. Since that it's not needed in the callers.
Signed-off-by Andy Shevchenko <[email protected]>
Acked-by Mika Westerberg <[email protected]>
Quoted 7 lines · Mika Westerberg
Quoted 4 lines · Andy Shevchenko
The pin control core is covered to report any error via message. Since that it's not needed in the callers.
Signed-off-by Andy Shevchenko <[email protected]>Acked-by Mika Westerberg <[email protected]>
Pushed to my review and testing queue, thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko