From: Simon Glass Date: Sat, 4 Oct 2014 17:29:57 +0000 (-0600) Subject: dm: gpio: Remove unused get_state() uclass method X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=85bfe6e4f6ecb667a8f65698e92bfa9a1a481850;p=u-boot.git dm: gpio: Remove unused get_state() uclass method This is no longer used so drop it. Signed-off-by: Simon Glass --- 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); }; /**