Files
linux/drivers
Andy Shevchenko 1cef8b5019 gpiolib: Get rid of redundant 'else'
In the snippets like the following

	if (...)
		return / goto / break / continue ...;
	else
		...

the 'else' is redundant. Get rid of it. In case of IOCTLs use
switch-case pattern that seems the usual in such cases.

While at it, clarify necessity of else in gpiod_direction_output()
by attaching else if to the closing curly brace on a previous line.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2022-04-05 14:20:07 +02:00
..
2022-03-30 16:17:54 -07:00
2022-04-05 14:20:07 +02:00
2022-03-27 22:18:39 +02:00
2022-03-18 19:00:26 +01:00