dm: gpio: Remove unused get_state() uclass method
authorSimon Glass <sjg@chromium.org>
Sat, 4 Oct 2014 17:29:57 +0000 (11:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:30:51 +0000 (19:30 -0600)
This is no longer used so drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/asm-generic/gpio.h

index 8af760e7770cb6012c31e4fb90c7e6a42e168a2e..4ec411b37285355e5e289aa560b442e4c7fb9743 100644 (file)
@@ -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);
 };
 
 /**