Re: [PATCH] mfd: Add free max8998->ono irq in max8998_irq_exit()

From: Samuel Ortiz
Date: Thu Oct 21 2010 - 19:00:46 EST


Hi Axel,

On Wed, Oct 20, 2010 at 05:09:56PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
Patch applied, many thanks.

Cheers,
Samuel.


> ---
> drivers/mfd/max8998-irq.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mfd/max8998-irq.c b/drivers/mfd/max8998-irq.c
> index 346fd29..45bfe77 100644
> --- a/drivers/mfd/max8998-irq.c
> +++ b/drivers/mfd/max8998-irq.c
> @@ -250,6 +250,9 @@ int max8998_irq_init(struct max8998_dev *max8998)
>
> void max8998_irq_exit(struct max8998_dev *max8998)
> {
> + if (max8998->ono)
> + free_irq(max8998->ono, max8998);
> +
> if (max8998->irq)
> free_irq(max8998->irq, max8998);
> }
> --
> 1.7.2
>
>
>

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/