summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2021-06-07 14:01:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-09 14:19:22 +0200
commit25203e32ce3ef9bfa363cfed7813c4fd7270ce45 (patch)
treeea30faf268a6e5daecb3ef4e7d15ed1129f6fb92 /scripts/gdb/linux/modules.py
parent2d3d288f0eaf102c3739ad811fa9727c742a49e0 (diff)
staging: mt7621-pci: make use of 'pcie_port_write'
Function 'mt7621_pcie_enable_port' is calculating an offset to write some port related registers. Instead of doing that just make use of already existent 'pcie_write_port' function and use virtualy mapped base address with registers. This increase readability and allow us to remove also two defitions not used else where. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20210607120153.24989-7-sergio.paracuellos@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions