diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2019-04-17 14:58:35 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 16:01:33 +0300 |
| commit | fc1e669ad15aff8d1cd14aa661279f2119471d0b (patch) | |
| tree | 658a402676918c04a0eb57a9ea90892cd627a4f9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 9c5d9e572e0e59c83a3683dff73be9120f0f1acc (diff) | |
| download | linux-fc1e669ad15aff8d1cd14aa661279f2119471d0b.tar.xz | |
staging: mt7621-pci-phy: use 'platform_get_resource'
Driver is using 'of_address_to_resource' to get memory resources.
Make use of 'platform_get_resource' instead which is more accurate
for a platform driver. This also makes possible to delete a local
variable which is not needed anymore.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
