Re: [PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-23 Thread Linus Walleij
On Tue, Sep 9, 2014 at 12:20 PM, Pramod Gurav wrote: > This patch removes a call to panic function when gpiochio_irqchip_add > fails and just returns the error to the calling function. > Same return value is used to handle the error case and adds a lable > to release resources on error. > The

Re: [PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-23 Thread Linus Walleij
On Tue, Sep 9, 2014 at 12:20 PM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patch removes a call to panic function when gpiochio_irqchip_add fails and just returns the error to the calling function. Same return value is used to handle the error case and adds a lable to release

[PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-09 Thread Pramod Gurav
This patch removes a call to panic function when gpiochio_irqchip_add fails and just returns the error to the calling function. Same return value is used to handle the error case and adds a lable to release resources on error. The error message has been improved to indicate failure to add irqchip

[PATCH v2 2/2] pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add

2014-09-09 Thread Pramod Gurav
This patch removes a call to panic function when gpiochio_irqchip_add fails and just returns the error to the calling function. Same return value is used to handle the error case and adds a lable to release resources on error. The error message has been improved to indicate failure to add irqchip