summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-06-25 10:38:15 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-07-02 12:40:37 +0300
commit6f2a875024993449f1b19a144d3e4391411a1b51 (patch)
treea07fd6c4d0365a334d031061a58e9191fa5cc6ef /include
parent7828b7bbbf2074dd7dd14d87f50bc5ce9036d692 (diff)
downloadlinux-6f2a875024993449f1b19a144d3e4391411a1b51.tar.xz
gpiolib: unexport gpiochip_get_desc()
This function has been deprecated for some time and is now only used within the GPIOLIB core. Remove it from the public header and unexport it as all current users are linked against the compilation unit where it is defined. Link: https://lore.kernel.org/r/20240625073815.12376-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/gpio/driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 6d31388dde0a..2dd7cb9cc270 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -787,7 +787,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);
-struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
struct gpio_desc *
gpio_device_get_desc(struct gpio_device *gdev, unsigned int hwnum);