diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/mxs-auart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 68984136bfb1..6db3baa39a97 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -781,6 +781,7 @@ out_free_irq: | |||
781 | auart_port[pdev->id] = NULL; | 781 | auart_port[pdev->id] = NULL; |
782 | free_irq(s->irq, s); | 782 | free_irq(s->irq, s); |
783 | out_free_clk: | 783 | out_free_clk: |
784 | put_device(s->dev); | ||
784 | clk_put(s->clk); | 785 | clk_put(s->clk); |
785 | out_free: | 786 | out_free: |
786 | kfree(s); | 787 | kfree(s); |