mirror of https://gitee.com/openkylin/linux.git
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
|
@ -382,9 +382,6 @@ static int sec_pmic_probe(struct i2c_client *i2c,
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (pdata->cfg_pmic_irq)
|
||||
pdata->cfg_pmic_irq();
|
||||
|
||||
sec_irq_init(sec_pmic);
|
||||
|
||||
pm_runtime_set_active(sec_pmic->dev);
|
||||
|
|
|
@ -85,7 +85,6 @@ struct sec_platform_data {
|
|||
int num_regulators;
|
||||
|
||||
int irq_base;
|
||||
int (*cfg_pmic_irq)(void);
|
||||
|
||||
bool wakeup;
|
||||
bool buck_voltage_lock;
|
||||
|
|
Loading…
Reference in New Issue