Re: [PATCH 3/4] gpio: mxc: remove dead code after switch to DT-only
From: Andy Shevchenko
Date: Tue Jan 14 2025 - 04:52:07 EST
On Tue, Jan 14, 2025 at 12:19 AM Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote:
>
> struct platform_device::id was only set by board code, but since i.MX
> became a devicetree-only platform, this will always be -1
> (PLATFORM_DEVID_NONE).
>
> Note: of_alias_get_id() returns a negative number on error and base
> treats all negative errors the same, so we need not add any additional
> error handling.
This one is good,
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko