mfd: intel_quark_i2c_gpio: Switch to use struct device *
commit9caac886397bdfd6c1a6b48493db6cd95bce313c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 19 Feb 2016 08:42:11 +0000 (19 10:42 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Apr 2016 12:31:39 +0000 (11 13:31 +0100)
tree23a2170a487977d48b1be065877ca25eaf282050
parent7f0c5ae18d649ed2f4978cbf07c02a0ff732f23e
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>
drivers/mfd/intel_quark_i2c_gpio.c