diff options
| author | Andy Shevchenko <[email protected]> | 2021-03-02 13:56:18 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2021-04-14 15:06:23 +0000 |
| commit | 2b77ea7a0a42878a0a3f2956cfc657281fcf74c0 (patch) | |
| tree | 497b1262e63ccdfa852ece1ed4c9da6428fffb89 /drivers/mfd/intel_quark_i2c_gpio.c | |
| parent | mfd: intel_quark_i2c_gpio: Unregister resources in reversed order (diff) | |
| download | kernel-2b77ea7a0a42878a0a3f2956cfc657281fcf74c0.tar.gz kernel-2b77ea7a0a42878a0a3f2956cfc657281fcf74c0.zip | |
mfd: intel_quark_i2c_gpio: Remove unused struct device member
The device pointer in the custom structure is not used anywhere,
remove it for good.
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/mfd/intel_quark_i2c_gpio.c')
| -rw-r--r-- | drivers/mfd/intel_quark_i2c_gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c index 3f13dc3710b7..532c852a2732 100644 --- a/drivers/mfd/intel_quark_i2c_gpio.c +++ b/drivers/mfd/intel_quark_i2c_gpio.c @@ -45,7 +45,6 @@ #define INTEL_QUARK_I2C_CLK_HZ 33000000 struct intel_quark_mfd { - struct device *dev; struct clk *i2c_clk; struct clk_lookup *i2c_clk_lookup; }; @@ -238,7 +237,6 @@ static int intel_quark_mfd_probe(struct pci_dev *pdev, if (!quark_mfd) return -ENOMEM; - quark_mfd->dev = &pdev->dev; dev_set_drvdata(&pdev->dev, quark_mfd); ret = intel_quark_register_i2c_clk(&pdev->dev); |
