summaryrefslogtreecommitdiff
path: root/drivers/mfd/intel_quark_i2c_gpio.c
diff options
context:
space:
mode:
authorJiang Qiu <qiujiang@huawei.com>2016-04-28 12:32:02 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-04-29 12:23:53 +0300
commit4ba8cfa79f44a9489b1d562430cb70fb53200adb (patch)
tree35ac7217c810da6870f7e3083f253a816057155b /drivers/mfd/intel_quark_i2c_gpio.c
parente81591815de05572ed28cbdca631d4d97f0bd059 (diff)
downloadlinux-4ba8cfa79f44a9489b1d562430cb70fb53200adb.tar.xz
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/intel_quark_i2c_gpio.c')
-rw-r--r--drivers/mfd/intel_quark_i2c_gpio.c2
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)
return -ENOMEM;
/* Set the properties for portA */
- pdata->properties->node = NULL;
+ pdata->properties->fwnode = NULL;
pdata->properties->idx = 0;
pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO;
pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE;