summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-07-05 14:11:14 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-07-06 14:39:50 +0200
commitacc6e331b62275570d23b20ced6296812023967f (patch)
tree1bbce06b7d03e3dfc941f96aa5845d49a5955efd /tools
parentd932cd49182f97966d196fb5301bfca90f58a360 (diff)
downloadlinux-acc6e331b62275570d23b20ced6296812023967f.tar.bz2
gpio: of: Allow overriding the device node
When registering a GPIO chip, drivers can override the device tree node associated with the chip by setting the chip's ->of_node field. If set, this field is supposed to take precedence over the ->parent->of_node field, but the code doesn't actually do that. Commit 762c2e46c059 ("gpio: of: remove of_gpiochip_and_xlate() and struct gg_data") exposes this because it now no longer matches on the GPIO chip's ->of_node field, but the GPIO device's ->of_node field that is set using the procedure described above. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions