Re: [PATCH v1 1/1] gpiolib-acpi: Drop unneeded ERR_CAST() in __acpi_find_gpio()

From: Mika Westerberg
Date: Tue Mar 04 2025 - 09:45:31 EST


On Tue, Mar 04, 2025 at 04:31:19PM +0200, Andy Shevchenko wrote:
> The checked type by PTR_ERR() is the same as returned by __acpi_find_gpio().
> Hence there is no need to cast, drop it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Acked-by: Mika Westerberg <westeri@xxxxxxxxxx>