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>
This commit is contained in:
Jiang Qiu
2016-04-28 17:32:02 +08:00
committed by Linus Walleij
parent e81591815d
commit 4ba8cfa79f
3 changed files with 19 additions and 21 deletions

View File

@@ -15,7 +15,7 @@
#define GPIO_DW_APB_H
struct dwapb_port_property {
struct device_node *node;
struct fwnode_handle *fwnode;
unsigned int idx;
unsigned int ngpio;
unsigned int gpio_base;