Skip to contentSkip to conversation

mfd: sec: Remove fields not used since regmap conversion

PATCH Applied Mark Brown 2 participants 2 messages Jun 28, 2013

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mfd: sec: Remove fields not used since regmap conversion

From: Mark Brown <[email protected]>

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.

---
 include/linux/mfd/samsung/core.h | 6 ------
 1 file changed, 6 deletions(-)
include/linux/mfd/samsung/core.h +0 -6
index f0f4de3..378ae8a 100644
@@ -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;
 };
Signature · 1 line
1.8.3.1
Applied
#1 lore raw

Hi Mark,

Quoted 9 lines · Mark Brown

From: Mark Brown <[email protected]>

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.

---
 include/linux/mfd/samsung/core.h | 6 ------
 1 file changed, 6 deletions(-)

Applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/