Home
last modified time | relevance | path

Searched hist:ca4091607847d25778db1b701a6e14dcc87a55ff (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-mockup.cdiff ca4091607847d25778db1b701a6e14dcc87a55ff Mon Feb 06 06:10:35 CST 2017 Bartosz Golaszewski <bgolaszewski@baylibre.com> 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>