diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-28 10:12:23 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-30 17:30:07 -0400 |
commit | dc6641822e412ff527e022ec752707ebb034add4 (patch) | |
tree | 20d749e4a623adb0e6c81d1e2f30a2a86f85a6d1 /include/linux/mfd/samsung | |
parent | e51c288ea15b13c7d9982251c8397853f7cfb18f (diff) |
mfd: sec: Remove fields not used since regmap conversion
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>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/samsung')
-rw-r--r-- | include/linux/mfd/samsung/core.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mfd/samsung/core.h b/include/linux/mfd/samsung/core.h index f0f4de3b4ccc..378ae8a04c6a 100644 --- a/include/linux/mfd/samsung/core.h +++ b/include/linux/mfd/samsung/core.h | |||
@@ -14,8 +14,6 @@ | |||
14 | #ifndef __LINUX_MFD_SEC_CORE_H | 14 | #ifndef __LINUX_MFD_SEC_CORE_H |
15 | #define __LINUX_MFD_SEC_CORE_H | 15 | #define __LINUX_MFD_SEC_CORE_H |
16 | 16 | ||
17 | #define NUM_IRQ_REGS 4 | ||
18 | |||
19 | enum sec_device_type { | 17 | enum sec_device_type { |
20 | S5M8751X, | 18 | S5M8751X, |
21 | S5M8763X, | 19 | S5M8763X, |
@@ -44,8 +42,6 @@ struct sec_pmic_dev { | |||
44 | struct regmap *regmap; | 42 | struct regmap *regmap; |
45 | struct i2c_client *i2c; | 43 | struct i2c_client *i2c; |
46 | struct i2c_client *rtc; | 44 | struct i2c_client *rtc; |
47 | struct mutex iolock; | ||
48 | struct mutex irqlock; | ||
49 | 45 | ||
50 | int device_type; | 46 | int device_type; |
51 | int irq_base; | 47 | int irq_base; |
@@ -53,8 +49,6 @@ struct sec_pmic_dev { | |||
53 | struct regmap_irq_chip_data *irq_data; | 49 | struct regmap_irq_chip_data *irq_data; |
54 | 50 | ||
55 | int ono; | 51 | int ono; |
56 | u8 irq_masks_cur[NUM_IRQ_REGS]; | ||
57 | u8 irq_masks_cache[NUM_IRQ_REGS]; | ||
58 | int type; | 52 | int type; |
59 | bool wakeup; | 53 | bool wakeup; |
60 | }; | 54 | }; |