summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-07 15:24:44 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-08 19:34:03 +0300
commitda90e38003e2f052d5d6a28df63ac42c9ea87323 (patch)
tree1cf15a4a14a76115f12d20bea1a8acedd8bdedf2 /tools/perf/scripts/python/stackcollapse.py
parent8b7b707a3c2746566d21871e1715ce325fb2e656 (diff)
downloadlinux-da90e38003e2f052d5d6a28df63ac42c9ea87323.tar.xz
net: axienet: Utilize of_get_mac_address()
Do not open code getting the MAC address exclusively from the "local-mac-address" property, but instead use of_get_mac_address() which looks up the MAC address using the 3 typical property names. Also avoid casting away the const qualifier of the return value by making axienet_set_mac_address() take a const void* address. Follows commit b34296a9c047 ("net: ethoc: Utilize of_get_mac_address()"). Cc: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions