]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: delete release gpios related code
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sat, 21 Mar 2020 07:26:50 +0000 (08:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 09:31:55 +0000 (10:31 +0100)
commit53921d96d8eab19fca7c0b329c778ecfde59f3e1
tree9de7cfe9705b31ef91048337b8612e56d9649bfa
parent8f6750251ffbe4b70e35a7ce4263b6eb817c3983
staging: mt7621-pci: delete release gpios related code

Making gpio8 and gpio9 vendor specific and putting them
into the specific dts file makes not needed to release
gpios anymore because we are not occupying those pins
in the first place if it is not necessary. When the
device tree is parsed we can also check and return for
the error because we rely in the fact that the related
device for the board is correct.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200321072650.7784-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c