From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Thu, 4 Sep 2014 18:53:28 +0200 Subject: [PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure In-Reply-To: <1409409935-8775-1-git-send-email-pramod.gurav@smartplayin.com> References: <1409409935-8775-1-git-send-email-pramod.gurav@smartplayin.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Aug 30, 2014 at 4:45 PM, Pramod Gurav wrote: > This patch adds a remove function to platform_driver to unload > the driver in a cleaner way. This also releases gpiochip related > resources by calling gpiochip_remove when gpiochip_irqchip_add fails. > > CC: Srinivas Kandagatla > CC: Srinivas Kandagatla > CC: Maxime Coquelin > CC: Patrice Chotard > CC: Linus Walleij > CC: Bjorn Andersson > > Signed-off-by: Pramod Gurav Srinivas/Patrice: can you have a look at this? Yours, Linus Walleij