mfd: sec: Remove fields not used since regmap conversion
authorMark Brown <broonie@linaro.org>
Fri, 28 Jun 2013 14:12:23 +0000 (15:12 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 30 Jun 2013 21:30:07 +0000 (23:30 +0200)
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>
include/linux/mfd/samsung/core.h

index f0f4de3b4ccc654b436dfdc2c9167feeb5e27793..378ae8a04c6a081265b22722c84d2631bcd82b58 100644 (file)
@@ -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;
 };