Commit 364ac456 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Linus Walleij

gpio: mockup: coding style fixes

Fix whitespace errors and arrange local variables for better
readability.
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ad6d8004
......@@ -120,12 +120,9 @@ static int mockup_gpio_add(struct device *dev,
static int mockup_gpio_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct mockup_gpio_controller *cntr;
int ret;
int i;
int base;
int ngpio;
struct device *dev = &pdev->dev;
int ret, i, base, ngpio;
char *chip_name;
if (gpio_mockup_params_nr < 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment