]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/gpio/driver.h
gpio: change member .dev to .parent
[mirror_ubuntu-bionic-kernel.git] / include / linux / gpio / driver.h
index d1baebf350d8109a30a6bbe3ff15dc25f3146e14..b02c43be7859fc000b6a0c7bacf9459f4adbfdd9 100644 (file)
@@ -20,7 +20,7 @@ struct seq_file;
 /**
  * struct gpio_chip - abstract a GPIO controller
  * @label: for diagnostics
- * @dev: optional device providing the GPIOs
+ * @parent: optional parent device providing the GPIOs
  * @cdev: class device used by sysfs interface (may be NULL)
  * @owner: helps prevent removal of modules exporting active GPIOs
  * @list: links gpio_chips together for traversal
@@ -89,7 +89,7 @@ struct seq_file;
  */
 struct gpio_chip {
        const char              *label;
-       struct device           *dev;
+       struct device           *parent;
        struct device           *cdev;
        struct module           *owner;
        struct list_head        list;