Re: [PATCH 2/3] gpio: max77620: Implement gpio_get_direction callback

2016-05-30 Thread Laxman Dewangan
On Monday 30 May 2016 08:33 PM, Linus Walleij wrote: On Tue, May 24, 2016 at 3:13 PM, Laxman Dewangan wrote: Implement gpio_get_direction() callback for MAX77620 GPIO. This is useful for debugfs and the userspace ABI. Signed-off-by: Laxman Dewangan #include +#include No. This is a sign

Re: [PATCH 2/3] gpio: max77620: Implement gpio_get_direction callback

2016-05-30 Thread Linus Walleij
On Tue, May 24, 2016 at 3:13 PM, Laxman Dewangan wrote: > Implement gpio_get_direction() callback for MAX77620 GPIO. > This is useful for debugfs and the userspace ABI. > > Signed-off-by: Laxman Dewangan > #include > +#include No. This is a sign that something is wrong, no driver should inc

[PATCH 2/3] gpio: max77620: Implement gpio_get_direction callback

2016-05-24 Thread Laxman Dewangan
Implement gpio_get_direction() callback for MAX77620 GPIO. This is useful for debugfs and the userspace ABI. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-max77620.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-m