diff options
author | Jiang Qiu <qiujiang@huawei.com> | 2016-04-28 05:32:02 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-29 05:23:53 -0400 |
commit | 4ba8cfa79f44a9489b1d562430cb70fb53200adb (patch) | |
tree | 35ac7217c810da6870f7e3083f253a816057155b /drivers/mfd | |
parent | e81591815de05572ed28cbdca631d4d97f0bd059 (diff) |
gpio: dwapb: convert device node to fwnode
This patch converts device node to fwnode for dwapb driver, so
as to provide a unified fwnode for DT and ACPI bindings.
Tested-by: Alan Tull <delicious.quinoa@gmail.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jiang Qiu <qiujiang@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/intel_quark_i2c_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c index a4ef99b88924..a24b35fc2b5b 100644 --- a/drivers/mfd/intel_quark_i2c_gpio.c +++ b/drivers/mfd/intel_quark_i2c_gpio.c | |||
@@ -219,7 +219,7 @@ static int intel_quark_gpio_setup(struct pci_dev *pdev, struct mfd_cell *cell) | |||
219 | return -ENOMEM; | 219 | return -ENOMEM; |
220 | 220 | ||
221 | /* Set the properties for portA */ | 221 | /* Set the properties for portA */ |
222 | pdata->properties->node = NULL; | 222 | pdata->properties->fwnode = NULL; |
223 | pdata->properties->idx = 0; | 223 | pdata->properties->idx = 0; |
224 | pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; | 224 | pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; |
225 | pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE; | 225 | pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE; |