gpio: mockup: code shrink
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 6 Feb 2017 12:10:36 +0000 (13:10 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Feb 2017 13:21:13 +0000 (14:21 +0100)
commite4ba07bf8d1481e440d1f49652c96567f9560fdc
treed0a75c7baaf7cfb987e4d28231227a15e1d5692d
parentca4091607847d25778db1b701a6e14dcc87a55ff
gpio: mockup: code shrink

Moving a couple of lines around allows us to shrink the code a bit
while keeping the same functionality.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mockup.c