summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-04 11:29:57 -0600
committerSimon Glass <sjg@chromium.org>2014-10-23 19:30:51 -0600
commit85bfe6e4f6ecb667a8f65698e92bfa9a1a481850 (patch)
treeb9cac5b798d60bc6fb357cde98a4eeedf6ad4e2c
parent2d91a9772c71e7f7c09fa4f6db2c3d11e6af8176 (diff)
downloadu-boot-imx-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.zip
u-boot-imx-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.tar.gz
u-boot-imx-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.tar.bz2
dm: gpio: Remove unused get_state() uclass method
This is no longer used so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 8af760e..4ec411b 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);
};
/**