OSDN Git Service

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)
commit68b7587baabfa42ca5625b709691358fee51b9d8
tree8ab22b18a19d3ae89925a04cfd77a5bdcc39ba99
parent6911845227578d57855cad2e728bfc53842ab5ee
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