diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-12-28 10:20:44 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-01-30 15:55:29 +0100 |
commit | 70d0fc4288dabd65025fde7774b4f9262afa9034 (patch) | |
tree | c53c20f2adbf5156e1486955361c6c60a5674f31 /include | |
parent | gpiolib: Introduce gpio_device_get() and gpio_device_put() (diff) | |
download | linux-70d0fc4288dabd65025fde7774b4f9262afa9034.tar.xz linux-70d0fc4288dabd65025fde7774b4f9262afa9034.zip |
gpiolib: Get rid of not used of_node member
All new drivers should use fwnode and / or parent to provide the
necessary information to the GPIO library.
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gpio/driver.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 44783fc16125..2316cb7fa667 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -504,13 +504,6 @@ struct gpio_chip { */ /** - * @of_node: - * - * Pointer to a device tree node representing this GPIO controller. - */ - struct device_node *of_node; - - /** * @of_gpio_n_cells: * * Number of cells used to form the GPIO specifier. |