Tag: 58383c78425e4ee1c077253cf297b641c861c02e

gpio: change member .dev to .parent

Author: Linus Walleij <linus.walleij@linaro.org> The name .dev in a struct is normally reserved for a struct device that is let us say a superclass to the thing described by the struct. struct gpio_chip stands out by confusingly using a struct device *dev to point to the parent device (such as a platform_device) that represents the …

Continue reading