Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -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)