]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci: remove 'mt7621_pci_parse_request_of_pci_ranges'
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 14 Jun 2021 10:06:16 +0000 (12:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:24:29 +0000 (15:24 +0200)
commit9e81eb9621639903d6ca8267d6c9c5e665956570
treeb1195c7f4276205e5e5d359332cd0a4ee8730849
parenta04c2a4647aff45ebd1e3edd490220013c41b82f
staging: mt7621-pci: remove 'mt7621_pci_parse_request_of_pci_ranges'

After 'PCI_IOBASE' is defined for ralink, ranges are properly parsed
using pci generic APIS and there is no need to parse anything
manually. So function 'mt7621_pci_parse_request_of_pci_ranges'
used for this can be enterely removed. Since we have to configure
iocu memory regions and pci io windows resources must be retrieved
accordly from 'bridge->windows' but there is no need to store
anything as driver private data.

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