From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Balaji Rao <balajirrao@openmoko.org>,
Harald Welte <laforge@openmoko.org>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: [PATCH 2/2] mfd: include linux/mfd/pcf50633/mbc.h in pcf50633-irq.c
Date: Sat, 25 Feb 2012 11:37:53 +0800 [thread overview]
Message-ID: <1330141073.10677.1.camel@phoenix> (raw)
In-Reply-To: <1330141014.10677.0.camel@phoenix>
Include linux/mfd/pcf50633/mbc.h instead of duplicating the same defines.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/mfd/pcf50633-irq.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/pcf50633-irq.c b/drivers/mfd/pcf50633-irq.c
index 048a3b9..498286c 100644
--- a/drivers/mfd/pcf50633-irq.c
+++ b/drivers/mfd/pcf50633-irq.c
@@ -19,12 +19,7 @@
#include <linux/slab.h>
#include <linux/mfd/pcf50633/core.h>
-
-/* Two MBCS registers used during cold start */
-#define PCF50633_REG_MBCS1 0x4b
-#define PCF50633_REG_MBCS2 0x4c
-#define PCF50633_MBCS1_USBPRES 0x01
-#define PCF50633_MBCS1_ADAPTPRES 0x01
+#include <linux/mfd/pcf50633/mbc.h>
int pcf50633_register_irq(struct pcf50633 *pcf, int irq,
void (*handler) (int, void *), void *data)
--
1.7.5.4
next prev parent reply other threads:[~2012-02-25 3:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-25 3:36 [PATCH 1/2] mfd: include linux/mfd/pcf50633/pmic.h in pcf50633-gpio.c Axel Lin
2012-02-25 3:37 ` Axel Lin [this message]
2012-03-01 10:51 ` [PATCH 2/2] mfd: include linux/mfd/pcf50633/mbc.h in pcf50633-irq.c Samuel Ortiz
2012-03-01 10:51 ` [PATCH 1/2] mfd: include linux/mfd/pcf50633/pmic.h in pcf50633-gpio.c 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=1330141073.10677.1.camel@phoenix \
--to=axel.lin@gmail.com \
--cc=balajirrao@openmoko.org \
--cc=laforge@openmoko.org \
--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;
as well as URLs for NNTP newsgroup(s).