commit | 9caac886397bdfd6c1a6b48493db6cd95bce313c | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Feb 19 10:42:11 2016 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Apr 11 13:31:39 2016 +0100 |
tree | 23a2170a487977d48b1be065877ca25eaf282050 | |
parent | 7f0c5ae18d649ed2f4978cbf07c02a0ff732f23e [diff] |
mfd: intel_quark_i2c_gpio: Switch to use struct device * There is no need to pass struct pci_dev * to intel_quark_register_i2c_clk() and intel_quark_unregister_i2c_clk(). Change the parameter to struct device *. As a result store it in the private struct instead of struct pci_dev *. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>