pinctrl: baytrail: Remove duplicate error messages
Subsystems (3)
PATCH 1/1 pinctrl: baytrail: 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-baytrail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/intel/pinctrl-baytrail.c +1 -1
@@ -1616,7 +1616,7 @@ static int byt_pinctrl_probe(struct platform_device *pdev) vg->pctldev =devm_pinctrl_register (dev, &vg->pctldesc, vg);if (IS_ERR (vg->pctldev)) -return dev_err_probe (dev,PTR_ERR (vg->pctldev),"failed to register pinctrl\n" ); +return PTR_ERR (vg->pctldev); ret =byt_gpio_probe (vg);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