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>