]> 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)
commit532a634fc9a48273ff1559e8ed951d9dd871950a
tree8ab22b18a19d3ae89925a04cfd77a5bdcc39ba99
parent52446fccb57a7e6299ddafdf795817a7729beb85
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