Re: [RFC PATCH] of_gpio: implement of_get_gpio_flags()

2008-07-26 Thread Trent Piepho
On Fri, 25 Jul 2008, Anton Vorontsov wrote: > > The name seems a bit unfortunate though, because one could read the > function as it gets gpio flags only (though, we might implement > this instead, but this way average driver will end up with parsing > gpios = <> twice). It is kind of a confusing

[RFC PATCH] of_gpio: implement of_get_gpio_flags()

2008-07-25 Thread Anton Vorontsov
This function is alike to the of_get_gpio(), but accepts new argument: flags. Now the of_get_gpio() call is a wrapper around of_get_gpio_flags(). This new function will be used by the drivers that need to retrive GPIO information, such as active-low flag. Signed-off-by: Anton Vorontsov <[EMAIL PR