pinctrl: intel: Drop double check for data in intel_pinctrl_probe_by_uid()
Subsystems (3)
PATCH 1/1 pinctrl: intel: Drop double check for data in intel_pinctrl_probe_by_uid()
There is no need to duplicate the check which is done in the common intel_pinctrl_probe().
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/pinctrl-intel.c | 2 -- 1 file changed, 2 deletions(-)
drivers/pinctrl/intel/pinctrl-intel.c +0 -2
@@ -1421,8 +1421,6 @@ int intel_pinctrl_probe_by_uid(struct platform_device *pdev) table = (const struct intel_pinctrl_soc_data **)id->driver_data; data = table[pdev->id]; } -if (!data) -return -ENODEV ;return intel_pinctrl_probe (pdev, data); }
Signature · 1 line
2.20.1
Quoted 4 lines · Andy Shevchenko
There is no need to duplicate the check which is done in the common
intel_pinctrl_probe().Signed-off-by Andy Shevchenko <[email protected]>
Acked-by Mika Westerberg <[email protected]>
Quoted 7 lines · Mika Westerberg
Quoted 4 lines · Andy Shevchenko
There is no need to duplicate the check which is done in the common
intel_pinctrl_probe().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