commit | ca4091607847d25778db1b701a6e14dcc87a55ff | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Feb 06 13:10:35 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Feb 06 14:20:12 2017 +0100 |
tree | e65cd027cd199aba75b6c1f80d66b4e8ffbee26b | |
parent | 02e74fc0401ae3f952423b04bea773195f2372ce [diff] |
gpio: mockup: readability tweaks The following patch tries to improve the readability of the mockup driver. The driver is called gpio-mockup, so add the same prefix to all functions and structures. Add some newlines and use a temporary pointer in gpio_mockup_add(). Drop the name of the direction enum and rename the enum values to better reflect their purpose. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>