From 48b3ecbedf8208845ac5956a3fb8817269fafedd Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 22 Sep 2022 17:53:26 +0200 Subject: gpio: Get rid of gpio_hog_probe_all() The gpio_hog_probe_all() functionality can be perfectly well replaced by DM_FLAG_PROBE_AFTER_BIND DM flag, which would trigger .probe() callback of each GPIO hog driver instance after .bind() and thus configure the hogged GPIO accordingly. Signed-off-by: Marek Vasut Signed-off-by: Quentin Schulz Reviewed-by: Patrick Delaunay Reviewed-by: Samuel Holland --- include/asm-generic/gpio.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 0fcf70983fb..dd0bdf2315e 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -461,14 +461,6 @@ int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc); */ int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc); -/** - * gpio_hog_probe_all() - probe all gpio devices with - * gpio-hog subnodes. - * - * @return: Returns return value from device_probe() - */ -int gpio_hog_probe_all(void); - /** * gpio_lookup_name - Look up a GPIO name and return its details * -- cgit v1.3.1