From: Felipe Balbi <[email protected]>

sel_gpio was never freed on previous code, free it.

Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/cbus/cbus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/cbus/cbus.c b/drivers/cbus/cbus.c
index 06ab81f..c219d54 100644
--- a/drivers/cbus/cbus.c
+++ b/drivers/cbus/cbus.c
@@ -198,6 +198,7 @@ static void __exit cbus_bus_remove(struct platform_device 
*pdev)
 {
        struct cbus_host        *chost = platform_get_drvdata(pdev);
 
+       gpio_free(chost->sel_gpio);
        gpio_free(chost->dat_gpio);
        gpio_free(chost->clk_gpio);
 
-- 
1.7.0.rc0.33.g7c3932

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to