On Mon, Nov 17, 2014 at 11:31 PM, Geert Uytterhoeven
wrote:
> It doesn't make much sense to make some (possible expensive) calls to
> gpio_is_valid() first, and to ignore the result if the base number is
> negative. Check for a positive base number first.
Sure.
Reviewed-by: Alexandre Courbot
--
It doesn't make much sense to make some (possible expensive) calls to
gpio_is_valid() first, and to ignore the result if the base number is
negative. Check for a positive base number first.
Signed-off-by: Geert Uytterhoeven
---
drivers/gpio/gpiolib.c | 4 ++--
1 file changed, 2 insertions(+), 2
2 matches
Mail list logo