mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-13 17:24:28 +08:00
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>
This commit is contained in:
parent
56f6cb35e2
commit
66f222ef45
@ -372,8 +372,6 @@ static void gpio_mockup_debugfs_setup(struct device *dev,
|
|||||||
debugfs_create_file(name, 0200, chip->dbg_dir, priv,
|
debugfs_create_file(name, 0200, chip->dbg_dir, priv,
|
||||||
&gpio_mockup_debugfs_ops);
|
&gpio_mockup_debugfs_ops);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int gpio_mockup_name_lines(struct device *dev,
|
static int gpio_mockup_name_lines(struct device *dev,
|
||||||
|
Loading…
Reference in New Issue
Block a user