[U-Boot] [PATCH 23/23] dm: gpio: Remove unused get_state() uclass method

Simon Glass sjg at chromium.org
Sat Oct 4 19:29:57 CEST 2014


This is no longer used so drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/asm-generic/gpio.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 2a32c93..0cfbd46 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -198,8 +198,6 @@ struct dm_gpio_ops {
 	 * @return current function - GPIOF_...
 	 */
 	int (*get_function)(struct udevice *dev, unsigned offset);
-	int (*get_state)(struct udevice *dev, unsigned offset, char *state,
-			 int maxlen);
 };
 
 /**
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list