diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2017-02-06 13:10:35 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-02-06 14:20:12 +0100 |
commit | ca4091607847d25778db1b701a6e14dcc87a55ff (patch) | |
tree | e65cd027cd199aba75b6c1f80d66b4e8ffbee26b /drivers/gpio/gpiolib-of.c | |
parent | gpio: Add GPIO support for the ACCES PCI-IDIO-16 (diff) | |
download | linux-ca4091607847d25778db1b701a6e14dcc87a55ff.tar.xz linux-ca4091607847d25778db1b701a6e14dcc87a55ff.zip |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions