summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
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 /include/asm-generic
parent2d91a9772c71e7f7c09fa4f6db2c3d11e6af8176 (diff)
downloadblackbird-obmc-uboot-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.tar.gz
blackbird-obmc-uboot-85bfe6e4f6ecb667a8f65698e92bfa9a1a481850.zip
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/asm-generic')
-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 8af760e777..4ec411b372 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);
};
/**
OpenPOWER on IntegriCloud