On Tue, 3 Feb 2026 07:10:51 +0100, Tzung-Bi Shih <[email protected]> said: > Ensure struct gpio_chip for gpiochip_setup_dev(). This eliminates a few > checks for struct gpio_chip. > > Signed-off-by: Tzung-Bi Shih <[email protected]>
Same comment as patch 3. I don't like seeing both gpio_chip and gpio_device being passed to the same function. If you already dereferenced gpio_chip, pass it on its own and get the address of the associated devices from its member pointer. Bartosz

