1 /* convert gpio: change member .dev to .parent
3 * add semantic patch which uses the dev member of struct gpio_chip on
4 * kenrel version < 4.5 This change was done in upstream kernel commit
5 * 58383c78 "gpio: change member .dev to .parent".
9 struct gpio_chip *chip;
12 +#if LINUX_VERSION_IS_GEQ(4,5,0)
16 +#endif /* LINUX_VERSION_IS_GEQ(4,5,0) */
18 struct gpio_chip chip;
21 +#if LINUX_VERSION_IS_GEQ(4,5,0)
25 +#endif /* LINUX_VERSION_IS_GEQ(4,5,0) */