Commit 12e1a419 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5a7b909c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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;