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 <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jiang Qiu <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
Jiang Qiu 2016-04-28 17:32:02 +08:00 • committed by Linus Walleij
commit 4ba8cfa79f
3 changed files with 19 additions and 21 deletions

View file

@ -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;