Re: [PATCH v2] mfd: intel-lpss: Add missing check for platform_get_resource

From: Andy Shevchenko
Date: Fri Nov 24 2023 - 12:47:46 EST


On Fri, Jun 09, 2023 at 09:48:18AM +0800, Jiasheng Jiang wrote:
> Add the missing check for platform_get_resource and return error
> if it fails.

> Fixes: 4b45efe85263 ("mfd: Add support for Intel Sunrisepoint LPSS devices")

This does not fix anything and just introduces a duplication code.
I would like this to be reverted. Should I send one?

--
With Best Regards,
Andy Shevchenko