aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2016-12-07 13:25:29 +0100
committerDavid S. Miller <[email protected]>2016-12-08 11:34:03 -0500
commit06205472765437fc3a6cae7c67052f40e08e120e (patch)
tree64450881b031dc1609b0343e6532fa1e28d2d132 /tools/perf/util/scripting-engines/trace-event-python.c
parentda90e38003e2f052d5d6a28df63ac42c9ea87323 (diff)
net: ll_temac: 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 temac_init_mac_address() take a const void* address. Follows commit b34296a9c047 ("net: ethoc: Utilize of_get_mac_address()"). Cc: Florian Fainelli <[email protected]> Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions