On Tue, Feb 25, 2025 at 12:56:25PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > gpiochip_get() is called only in two places: in gpio_chip_get_value() > and in gpiochip_get_multiple() where the existence of the gc->get() > callback is already checked. It makes sense to unduplicate the check by > moving it one level up the stack. Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko