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)
commit6bdf0ddd73ddc00b82855023f4cf4adb28c06803
tree9de7cfe9705b31ef91048337b8612e56d9649bfa
parent0d326e722d76f1e8227f92573c6b7b69025c52b4
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