Re: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()

2015-07-15 Thread Linus Walleij
On Tue, Jul 14, 2015 at 3:01 AM, Masahiro Yamada wrote: > The variable "desc" is only used for storing the return value at the > end of the function. It is unneeded. > > Signed-off-by: Masahiro Yamada > Acked-by: Alexandre Courbot Patch applied. Yours, Linus Walleij -- To unsubscribe from

Re: [PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()

2015-07-15 Thread Linus Walleij
On Tue, Jul 14, 2015 at 3:01 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: The variable desc is only used for storing the return value at the end of the function. It is unneeded. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Alexandre Courbot

[PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()

2015-07-13 Thread Masahiro Yamada
The variable "desc" is only used for storing the return value at the end of the function. It is unneeded. Signed-off-by: Masahiro Yamada Acked-by: Alexandre Courbot --- Changes in v2: - Fix a typo in git-log. "It is is unneeded" -> "It is unneeded" drivers/gpio/gpiolib-of.c | 5 + 1

[PATCH v2] gpio: of: remove unnecessary variable in of_get_gpio_hog()

2015-07-13 Thread Masahiro Yamada
The variable desc is only used for storing the return value at the end of the function. It is unneeded. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com Acked-by: Alexandre Courbot acour...@nvidia.com --- Changes in v2: - Fix a typo in git-log. It is is unneeded - It is unneeded