aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-05-29 00:21:31 +0200
committerDavid S. Miller <[email protected]>2020-05-28 16:30:04 -0700
commit848fc0ce6cb84430c4b1dd0a749015ad9af1b766 (patch)
treeb646465143e3e324c33acdd37f38616a761f798a /tools/perf/scripts/python/compaction-times.py
parent2f3271c952bfa9486aa3746f591788c983fc280d (diff)
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 <[email protected]> Cc: David S. Miller <[email protected]> Cc: Lukas Wunner <[email protected]> Cc: Petr Stetiar <[email protected]> Cc: YueHaibing <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions