aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRadhey Shyam Pandey <[email protected]>2018-06-28 18:41:46 +0530
committerDavid S. Miller <[email protected]>2018-06-30 20:15:44 +0900
commit21d61166cada03405db7ad2d985b3c2c0e46e074 (patch)
tree2af3eb45ba8b5bf51f91b4bffc160e558b486dfd /tools/perf/scripts/python
parentdfe76a3614270a727d3f2bde4fc62e9f774365dd (diff)
net: emaclite: Use __func__ instead of hardcoded name
Switch hardcoded function name with a reference to __func__ making the code more maintainable. Address below checkpatch warning: WARNING: Prefer using '"%s...", __func__' to using 'xemaclite_mdio_read', this function's name, in a string + "xemaclite_mdio_read(phy_id=%i, reg=%x) == %x\n", WARNING: Prefer using '"%s...", __func__' to using 'xemaclite_mdio_write', this function's name, in a string + "xemaclite_mdio_write(phy_id=%i, reg=%x, val=%x)\n", Signed-off-by: Radhey Shyam Pandey <[email protected]> Signed-off-by: Michal Simek <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions