]> git.itanic.dy.fi Git - linux-stable/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)
commitb15606e63ea90ced5044bd2007fd7b54298ce293
treeb1195c7f4276205e5e5d359332cd0a4ee8730849
parent222b27713d7f7e189cca30ccdcee8e1f953d2c9f
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