diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-05-26 08:47:07 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-06-02 10:51:18 +0100 |
commit | 12e1a41952c08fda89f6b14188ec6cdf31462907 (patch) | |
tree | a213780f7b99c23f58bd0ce7d2db97e251c24c52 /drivers/mfd/sec-core.c | |
parent | 5a7b909c7c9a7069fe01c4b3b1f85cfeba82b669 (diff) | |
download | lwn-12e1a41952c08fda89f6b14188ec6cdf31462907.tar.gz lwn-12e1a41952c08fda89f6b14188ec6cdf31462907.zip |
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>
Diffstat (limited to 'drivers/mfd/sec-core.c')
-rw-r--r-- | drivers/mfd/sec-core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index c61c1fc62165..653d02b98d53 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -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); |