提交 dc664182 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

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: NMark Brown <broonie@linaro.org>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 e51c288e
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#ifndef __LINUX_MFD_SEC_CORE_H #ifndef __LINUX_MFD_SEC_CORE_H
#define __LINUX_MFD_SEC_CORE_H #define __LINUX_MFD_SEC_CORE_H
#define NUM_IRQ_REGS 4
enum sec_device_type { enum sec_device_type {
S5M8751X, S5M8751X,
S5M8763X, S5M8763X,
...@@ -44,8 +42,6 @@ struct sec_pmic_dev { ...@@ -44,8 +42,6 @@ struct sec_pmic_dev {
struct regmap *regmap; struct regmap *regmap;
struct i2c_client *i2c; struct i2c_client *i2c;
struct i2c_client *rtc; struct i2c_client *rtc;
struct mutex iolock;
struct mutex irqlock;
int device_type; int device_type;
int irq_base; int irq_base;
...@@ -53,8 +49,6 @@ struct sec_pmic_dev { ...@@ -53,8 +49,6 @@ struct sec_pmic_dev {
struct regmap_irq_chip_data *irq_data; struct regmap_irq_chip_data *irq_data;
int ono; int ono;
u8 irq_masks_cur[NUM_IRQ_REGS];
u8 irq_masks_cache[NUM_IRQ_REGS];
int type; int type;
bool wakeup; bool wakeup;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册