Messages in this thread | | | Date | Wed, 14 Jan 2015 13:33:36 +0100 | Subject | Re: [PATCH v1] gpio: Make the vararg hacks not pass magic values | From | Linus Walleij <> |
| |
On Wed, Jan 7, 2015 at 9:44 AM, Olliver Schinagl <oliver+list@schinagl.nl> wrote:
> From: Olliver Schinagl <oliver@schinagl.nl> > > Right now, in consumer.h, there's some vararg hacks that pass 0 as the > flags. What actually is passed however is GPIOD_ASIS, which naturally is > also 0. Using the define/enum rather then the magic 0 makes it the > define more readable to a passer by. > > Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Patch applied.
Yours, Linus Walleij
| |