staging: mt7621-pci: avoid to set gpio mode in driver
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 5 May 2021 12:17:28 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:40 +0000 (11:19 +0200)
commit96c310c1a2b69faa958e7400c086631df4d57cc9
tree4bcbc3155b32d92a39e23336c8a95d2f6d02757c
parentcc4e864a5ce4c1c18f3df9bcdba06e69b074149f
staging: mt7621-pci: avoid to set gpio mode in driver

Gpio mode for the pcie pins must be request from device
tree using pinctrl driver. Pinctrl driver is already setting
this pcie pins as GPIO if it is requested. Hence, remove it
from here.

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