On Fri, Jan 1, 2016 at 5:30 PM, Sudip Mukherjee
wrote:
> Even if an invalid gpio number is sent to gpio_to_desc() we try to find
> it in the list before checking if it is invalid. We can check it first
> so that it will save us from traversing the list incase of invalid gpio.
The motivation for h
Even if an invalid gpio number is sent to gpio_to_desc() we try to find
it in the list before checking if it is invalid. We can check it first
so that it will save us from traversing the list incase of invalid gpio.
Signed-off-by: Sudip Mukherjee
---
drivers/gpio/gpiolib.c | 8 +---
1 file c
2 matches
Mail list logo