summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/gpio.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-05-26 15:29:19 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-05-26 15:25:17 -0700
commitc8d1ad8013681eeb2dc8dac405db3b95284adc1d (patch)
treecb3a1c1290a620badbda3955d556d95656cfa7cb /drivers/staging/greybus/gpio.c
parent1d771fe41e629fad9077a0a1a9cf2771c9a5287d (diff)
greybus: gpio: fix debugfs output
Fix debugfs output by removing the unimplemented, custom dbg_show callback. The default implementation is perfectly sufficient. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/gpio.c')
-rw-r--r--drivers/staging/greybus/gpio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index 6e5fe5b3db39..0191bb809968 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -414,11 +414,6 @@ static int gb_gpio_set_debounce(struct gpio_chip *chip, unsigned offset,
return gb_gpio_set_debounce_operation(ggc, (u8)offset, usec);
}
-static void gb_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
-{
- return; /* XXX */
-}
-
static int gb_gpio_controller_setup(struct gb_gpio_controller *ggc)
{
int ret;
@@ -616,7 +611,6 @@ static int gb_gpio_connection_init(struct gb_connection *connection)
gpio->get = gb_gpio_get;
gpio->set = gb_gpio_set;
gpio->set_debounce = gb_gpio_set_debounce;
- gpio->dbg_show = gb_gpio_dbg_show;
gpio->to_irq = gb_gpio_to_irq;
gpio->base = -1; /* Allocate base dynamically */
gpio->ngpio = ggc->line_max + 1;