mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
mfd: sec: Remove unused cfg_pmic_irq in platform data
The 'cfg_pmic_irq' field of platform data structure is not used and can be safely dropped. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
5a7b909c7c
commit
12e1a41952
2 changed files with 0 additions and 4 deletions
|
@ -382,9 +382,6 @@ static int sec_pmic_probe(struct i2c_client *i2c,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pdata->cfg_pmic_irq)
|
|
||||||
pdata->cfg_pmic_irq();
|
|
||||||
|
|
||||||
sec_irq_init(sec_pmic);
|
sec_irq_init(sec_pmic);
|
||||||
|
|
||||||
pm_runtime_set_active(sec_pmic->dev);
|
pm_runtime_set_active(sec_pmic->dev);
|
||||||
|
|
|
@ -85,7 +85,6 @@ struct sec_platform_data {
|
||||||
int num_regulators;
|
int num_regulators;
|
||||||
|
|
||||||
int irq_base;
|
int irq_base;
|
||||||
int (*cfg_pmic_irq)(void);
|
|
||||||
|
|
||||||
bool wakeup;
|
bool wakeup;
|
||||||
bool buck_voltage_lock;
|
bool buck_voltage_lock;
|
||||||
|
|
Loading…
Reference in a new issue