diff options
author | Bartosz Golaszewski <[email protected]> | 2017-02-06 13:10:35 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-02-06 14:20:12 +0100 |
commit | ca4091607847d25778db1b701a6e14dcc87a55ff (patch) | |
tree | e65cd027cd199aba75b6c1f80d66b4e8ffbee26b /lib/netdev-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions