Re: [PATCH v2 1/7] gpio: mockup: readability tweaks

From: Linus Walleij
Date: Mon Feb 06 2017 - 08:20:58 EST


On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
<bgolaszewski@xxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij