* [PATCH] mfd: sec: Remove fields not used since regmap conversion
@ 2013-06-28 14:12 Mark Brown
2013-06-28 15:35 ` Samuel Ortiz
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2013-06-28 14:12 UTC (permalink / raw)
To: Sangbeom Kim, Lee Jones, Samuel Ortiz
Cc: linux-samsung-soc, linux-kernel, Mark Brown
From: Mark Brown <broonie@linaro.org>
These were all used by the open coded I/O and IRQ implementations and are
no longer referenced now that the regmap core variants are used instead.
Signed-off-by: Mark Brown <broonie@linaro.org>
---
include/linux/mfd/samsung/core.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/linux/mfd/samsung/core.h b/include/linux/mfd/samsung/core.h
index f0f4de3..378ae8a 100644
--- a/include/linux/mfd/samsung/core.h
+++ b/include/linux/mfd/samsung/core.h
@@ -14,8 +14,6 @@
#ifndef __LINUX_MFD_SEC_CORE_H
#define __LINUX_MFD_SEC_CORE_H
-#define NUM_IRQ_REGS 4
-
enum sec_device_type {
S5M8751X,
S5M8763X,
@@ -44,8 +42,6 @@ struct sec_pmic_dev {
struct regmap *regmap;
struct i2c_client *i2c;
struct i2c_client *rtc;
- struct mutex iolock;
- struct mutex irqlock;
int device_type;
int irq_base;
@@ -53,8 +49,6 @@ struct sec_pmic_dev {
struct regmap_irq_chip_data *irq_data;
int ono;
- u8 irq_masks_cur[NUM_IRQ_REGS];
- u8 irq_masks_cache[NUM_IRQ_REGS];
int type;
bool wakeup;
};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: sec: Remove fields not used since regmap conversion
2013-06-28 14:12 [PATCH] mfd: sec: Remove fields not used since regmap conversion Mark Brown
@ 2013-06-28 15:35 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2013-06-28 15:35 UTC (permalink / raw)
To: Mark Brown
Cc: Sangbeom Kim, Lee Jones, linux-samsung-soc, linux-kernel,
Mark Brown
Hi Mark,
On Fri, Jun 28, 2013 at 03:12:23PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
>
> These were all used by the open coded I/O and IRQ implementations and are
> no longer referenced now that the regmap core variants are used instead.
>
> Signed-off-by: Mark Brown <broonie@linaro.org>
> ---
> include/linux/mfd/samsung/core.h | 6 ------
> 1 file changed, 6 deletions(-)
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-28 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 14:12 [PATCH] mfd: sec: Remove fields not used since regmap conversion Mark Brown
2013-06-28 15:35 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox