]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: altera-a10sr: Trivial coding style fix
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Jan 2019 00:00:58 +0000 (08:00 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 14:14:38 +0000 (15:14 +0100)
commit472b9280683f51a1949064a95ddcc62728bc992f
tree8ab22b18a19d3ae89925a04cfd77a5bdcc39ba99
parent6a5b06e59584e87679057dcb06a120373f819316
gpio: altera-a10sr: Trivial coding style fix

Change the coding style to make it does error checking first.
This also fixes checkpatch warning about line over 80 characters.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested by: Thor Thayer <thor.thayer@linux.intel.com>
Reviewed by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-altera-a10sr.c