Re: [PATCH v2] gpiolib: Add stubs for gpiod lookup table interface

From: Anatolij Gustschin
Date: Thu Apr 27 2017 - 10:29:51 EST


On Thu, 27 Apr 2017 16:25:34 +0200
Anatolij Gustschin agust@xxxxxxx wrote:

>On Thu, 27 Apr 2017 17:07:23 +0300
>Andy Shevchenko andy.shevchenko@xxxxxxxxx wrote:
...
>>static inline void gpiod_add_lookup_table(struct gpiod_lookup_table *table) {}
>>static inline void gpiod_remove_lookup_table(struct gpiod_lookup_table
>>*table) {}
>>#endif /* !GPIOLIB */
>>
>>P.S. please notice how I put the stubs. It would be good to keep them
>>in two lines.
>
>this will exceed 80 char line limit.

I'll go with

static inline
void gpiod_add_lookup_table(struct gpiod_lookup_table *table) {}

static inline
void gpiod_remove_lookup_table(struct gpiod_lookup_table *table) {}

Is it okay?

Thanks,

Anatolij