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:
Krzysztof Kozlowski 2021-05-26 08:47:07 -04:00 committed by Lee Jones
parent 5a7b909c7c
commit 12e1a41952
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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;