aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sec-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/sec-core.c')
-rw-r--r--drivers/mfd/sec-core.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index e4671088f075..a139798b8065 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -81,36 +81,6 @@ static struct of_device_id sec_dt_match[] = {
81}; 81};
82#endif 82#endif
83 83
84int sec_reg_read(struct sec_pmic_dev *sec_pmic, u8 reg, void *dest)
85{
86 return regmap_read(sec_pmic->regmap_pmic, reg, dest);
87}
88EXPORT_SYMBOL_GPL(sec_reg_read);
89
90int sec_bulk_read(struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
91{
92 return regmap_bulk_read(sec_pmic->regmap_pmic, reg, buf, count);
93}
94EXPORT_SYMBOL_GPL(sec_bulk_read);
95
96int sec_reg_write(struct sec_pmic_dev *sec_pmic, u8 reg, u8 value)
97{
98 return regmap_write(sec_pmic->regmap_pmic, reg, value);
99}
100EXPORT_SYMBOL_GPL(sec_reg_write);
101
102int sec_bulk_write(struct sec_pmic_dev *sec_pmic, u8 reg, int count, u8 *buf)
103{
104 return regmap_raw_write(sec_pmic->regmap_pmic, reg, buf, count);
105}
106EXPORT_SYMBOL_GPL(sec_bulk_write);
107
108int sec_reg_update(struct sec_pmic_dev *sec_pmic, u8 reg, u8 val, u8 mask)
109{
110 return regmap_update_bits(sec_pmic->regmap_pmic, reg, mask, val);
111}
112EXPORT_SYMBOL_GPL(sec_reg_update);
113
114static bool s2mps11_volatile(struct device *dev, unsigned int reg) 84static bool s2mps11_volatile(struct device *dev, unsigned int reg)
115{ 85{
116 switch (reg) { 86 switch (reg) {