[PATCH v3 02/18] pinctrl: pinctrl-single: remove dead code in suspend() and resume() callbacks

Andy Shevchenko andy at kernel.org
Thu Feb 15 07:27:53 PST 2024


On Thu, Feb 15, 2024 at 04:17:47PM +0100, Thomas Richard wrote:
> No need to check the pointer returned by platform_get_drvdata(), as
> platform_set_drvdata() is called during the probe.

This patch should go _after_ the next one, otherwise the commit message doesn't
tell full story and the code change bring a potential regression.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-phy mailing list