diff options
author | 2020-09-09 10:54:26 +0200 | |
---|---|---|
committer | 2020-09-14 10:54:42 +0200 | |
commit | 32fc5aa2df12c7a95dbd1c2c9ee3eb8d7f920d9e (patch) | |
tree | 579fe3a789d0b5e07f6b9a9cb46f42041fd8c96b /include/linux/gpio | |
parent | gpiolib: generalize devprop_gpiochip_set_names() for device properties (diff) | |
download | linux-32fc5aa2df12c7a95dbd1c2c9ee3eb8d7f920d9e.tar.gz linux-32fc5aa2df12c7a95dbd1c2c9ee3eb8d7f920d9e.tar.bz2 linux-32fc5aa2df12c7a95dbd1c2c9ee3eb8d7f920d9e.zip |
gpiolib: unexport devprop_gpiochip_set_names()
Now that devprop_gpiochip_set_names() is only used in a single place
inside drivers/gpio/gpiolib.c, there's no need anymore for it to be
exported or to even live in its own source file. Pull this function into
the core source file for gpiolib.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r-- | include/linux/gpio/driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 56485a040b82..4a7e295c3640 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -756,8 +756,6 @@ struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *gc, enum gpiod_flags dflags); void gpiochip_free_own_desc(struct gpio_desc *desc); -int devprop_gpiochip_set_names(struct gpio_chip *gc); - #ifdef CONFIG_GPIOLIB /* lock/unlock as IRQ */ |