diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-15 15:58:05 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-18 04:41:40 +0300 |
commit | dd2cdba4709f6a4e32e7e323d23922e99916a781 (patch) | |
tree | bb1f44a164271dd0d1802877d1118c9de2038c4e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a27d798fd83c8c7c4d8c549e04c83beb3c1dc214 (diff) | |
download | linux-dd2cdba4709f6a4e32e7e323d23922e99916a781.tar.xz |
net: stmmac: sunxi: use stmmac_pltfr_probe()
Rather than open-coding the calls to sun7i_gmac_init() and
sun7i_gmac_exit() in the probe function, use stmmac_pltfr_probe()
which will automatically call the plat_dat->init() and plat_dat->exit()
methods appropriately. This simplifies the code.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1u4frZ-000nMl-BB@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions