Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-21 Thread Linus Walleij
On Sun, May 19, 2013 at 7:58 AM, Axel Lin wrote: > Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. > Also show error message if gpiochip_remove() fails. > > Signed-off-by: Axel Lin > Cc: Linus Walleij > Cc: Maxime Ripard > Cc: Tony Prisk Patch applied for fixes,

Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-21 Thread Maxime Ripard
Hi Axel, On Sun, May 19, 2013 at 01:58:37PM +0800, Axel Lin wrote: > Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. > Also show error message if gpiochip_remove() fails. > > Signed-off-by: Axel Lin > Cc: Linus Walleij > Cc: Maxime Ripard > Cc: Tony Prisk For th

Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-19 Thread Tony Prisk
On 19/05/13 17:58, Axel Lin wrote: Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. Also show error message if gpiochip_remove() fails. Signed-off-by: Axel Lin Cc: Linus Walleij Cc: Maxime Ripard Cc: Tony Prisk --- drivers/pinctrl/pinctrl-coh901.c | 3 ++-

[PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-18 Thread Axel Lin
Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. Also show error message if gpiochip_remove() fails. Signed-off-by: Axel Lin Cc: Linus Walleij Cc: Maxime Ripard Cc: Tony Prisk --- drivers/pinctrl/pinctrl-coh901.c | 3 ++- drivers/pinctrl/pinctrl-sunxi.c |