Skip to content

Commit 12e1a41

Browse files
krzkLee Jones
authored andcommitted
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>
1 parent 5a7b909 commit 12e1a41

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/mfd/sec-core.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,6 @@ static int sec_pmic_probe(struct i2c_client *i2c,
382382
return ret;
383383
}
384384

385-
if (pdata->cfg_pmic_irq)
386-
pdata->cfg_pmic_irq();
387-
388385
sec_irq_init(sec_pmic);
389386

390387
pm_runtime_set_active(sec_pmic->dev);

‎include/linux/mfd/samsung/core.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ struct sec_platform_data {
8585
int num_regulators;
8686

8787
int irq_base;
88-
int (*cfg_pmic_irq)(void);
8988

9089
bool wakeup;
9190
bool buck_voltage_lock;

0 commit comments

Comments
 (0)