summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-29 12:10:00 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-30 10:51:26 +0200
commit66f222ef45f3d55121fd69bd5d03e74c0d1ff1e5 (patch)
tree6e24af260f4e3c1feba23790474fb0cfadc7ef44
parent56f6cb35e2749156c779d0cc7ae2a68305666c14 (diff)
downloadlinux-66f222ef45f3d55121fd69bd5d03e74c0d1ff1e5.tar.bz2
gpio: mockup: remove unneeded return statement
There's a return; at the end of a void function. This is not needed so remove it. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/gpio/gpio-mockup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c
index c2b2f7d5ff34..de778b52f355 100644
--- a/drivers/gpio/gpio-mockup.c
+++ b/drivers/gpio/gpio-mockup.c
@@ -372,8 +372,6 @@ static void gpio_mockup_debugfs_setup(struct device *dev,
debugfs_create_file(name, 0200, chip->dbg_dir, priv,
&gpio_mockup_debugfs_ops);
}
-
- return;
}
static int gpio_mockup_name_lines(struct device *dev,