Commit e5ab49cd authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpiolib: improve coding style for local variables



Drop unneeded whitespaces and put the variables of the same type
together for consistency with the rest of the code.

Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent e320d9c2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -594,11 +594,11 @@ int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
			       struct lock_class_key *request_key)
{
	struct fwnode_handle *fwnode = gc->parent ? dev_fwnode(gc->parent) : NULL;
	struct gpio_device *gdev;
	unsigned long flags;
	int		ret = 0;
	unsigned	i;
	int base = gc->base;
	struct gpio_device *gdev;
	unsigned int i;
	int ret = 0;

	/*
	 * First: allocate and populate the internal stat container, and