Skip to content

Commit dc66418

Browse files
broonieSamuel Ortiz
authored andcommitted
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>
1 parent e51c288 commit dc66418

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • include/linux/mfd/samsung

‎include/linux/mfd/samsung/core.h‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#ifndef __LINUX_MFD_SEC_CORE_H
1515
#define __LINUX_MFD_SEC_CORE_H
1616

17-
#define NUM_IRQ_REGS 4
18-
1917
enum sec_device_type {
2018
S5M8751X,
2119
S5M8763X,
@@ -44,17 +42,13 @@ struct sec_pmic_dev {
4442
struct regmap *regmap;
4543
struct i2c_client *i2c;
4644
struct i2c_client *rtc;
47-
struct mutex iolock;
48-
struct mutex irqlock;
4945

5046
int device_type;
5147
int irq_base;
5248
int irq;
5349
struct regmap_irq_chip_data *irq_data;
5450

5551
int ono;
56-
u8 irq_masks_cur[NUM_IRQ_REGS];
57-
u8 irq_masks_cache[NUM_IRQ_REGS];
5852
int type;
5953
bool wakeup;
6054
};

0 commit comments

Comments
 (0)