summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-04 17:29:57 (GMT)
committerSimon Glass <sjg@chromium.org>2014-10-24 01:30:51 (GMT)
commit85bfe6e4f6ecb667a8f65698e92bfa9a1a481850 (patch)
treeb9cac5b798d60bc6fb357cde98a4eeedf6ad4e2c /include
parent2d91a9772c71e7f7c09fa4f6db2c3d11e6af8176 (diff)
downloadu-boot-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.tar.xz
dm: gpio: Remove unused get_state() uclass method
This is no longer used so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-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);
};
/**