pinctrl: tangier: Remove duplicate error messages
PATCH 1/1 pinctrl: tangier: 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-tangier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/intel/pinctrl-tangier.c +1 -1
@@ -566,7 +566,7 @@ int devm_tng_pinctrl_probe(struct platform_device *pdev) tp->pctldev =devm_pinctrl_register (dev, &tp->pctldesc, tp);if (IS_ERR (tp->pctldev)) -return dev_err_probe (dev,PTR_ERR (tp->pctldev),"failed to register pinctrl\n" ); +return PTR_ERR (tp->pctldev);return 0 ; }
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