summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-05-29 01:21:31 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-29 02:30:04 +0300
commit848fc0ce6cb84430c4b1dd0a749015ad9af1b766 (patch)
treeb646465143e3e324c33acdd37f38616a761f798a /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2f3271c952bfa9486aa3746f591788c983fc280d (diff)
downloadlinux-848fc0ce6cb84430c4b1dd0a749015ad9af1b766.tar.xz
net: ks8851: Pass device node into ks8851_init_mac()
Since the driver probe function already has a struct device *dev pointer and can easily derive of_node pointer from it, pass the of_node pointer as a parameter to ks8851_init_mac() to avoid fishing it out from ks->spidev. This is the only reference to spidev in the function, so get rid of it. This is done in preparation for unifying the KS8851 SPI and parallel bus drivers. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> Cc: David S. Miller <davem@davemloft.net> Cc: Lukas Wunner <lukas@wunner.de> Cc: Petr Stetiar <ynezz@true.cz> Cc: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions