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