mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
e81591815d
commit
4ba8cfa79f
3 changed files with 19 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue