On Fri, Feb 13, 2026 at 10:31 AM Tzung-Bi Shih <[email protected]> wrote:
> It's harmless even if: chrdev_open() and cdev_device_del() run at the > same time, and gpio_chrdev_open() gets called after the underlying GPIO > chip has gone. The subsequent file operations check the availability > of struct gpio_chip anyway. > > Don't check struct gpio_chip in gpio_chrdev_open(). > > Signed-off-by: Tzung-Bi Shih <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Yours, Linus Walleij

