From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Joonyoung Shim <jy0922.shim@samsung.com>
Subject: [PATCH] mfd: Add free max8998->ono irq in max8998_irq_exit()
Date: Wed, 20 Oct 2010 17:09:56 +0800 [thread overview]
Message-ID: <1287565796.7849.6.camel@mola> (raw)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
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
next reply other threads:[~2010-10-20 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 9:09 Axel Lin [this message]
2010-10-21 23:00 ` [PATCH] mfd: Add free max8998->ono irq in max8998_irq_exit() Samuel Ortiz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287565796.7849.6.camel@mola \
--to=axel.lin@gmail.com \
--cc=jy0922.shim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox