]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bcma: gpio: set of_node regardless of the host type
authorRafał Miłecki <rafal@milecki.pl>
Tue, 14 Feb 2017 22:03:46 +0000 (23:03 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 8 Mar 2017 15:04:24 +0000 (17:04 +0200)
commita4bb5b1b47cb50ac6feb662fade4608f8dd0248b
tree82ee123992ff5025c0df473016d2b26c9ac346bd
parent9c28286b1b4b9bce6e35dd4c8a1265f03802a89a
bcma: gpio: set of_node regardless of the host type

DT allows describing many device types, not only platform ones. If e.g.
bcma is hosted on PCI(e) and it has its of_node, let's pass it to the
GPIO subsystem. This allows GPIO code to handle more hardware details
not only for bcma on a SoC.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/driver_gpio.c