diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-09-01 03:19:52 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-04 16:59:15 (GMT) |
commit | 3af0dbd592fe0a92002f16e341519ba03e92adf7 (patch) | |
tree | 2e9d28522004ab8a16283fc8cc33d6de13cbdbc6 /drivers/powercap | |
parent | 59e22114b253aaa7caf14221df4dcf924d067922 (diff) | |
download | linux-3af0dbd592fe0a92002f16e341519ba03e92adf7.tar.xz |
gpio: mcp23s08 to support both device tree and platform data
Device tree is not enabled in some architecture where gpio
driver mcp23s08 is still required.
v2-changes:
- Parse device tree properties into platform data other than
individual variables.
v3-changes:
- Use of_node in gpio_chip device structure, because the
struct device * always has an of_node which is NULL when
OF is not used.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions