diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-02-06 01:02:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-07 01:51:50 +0300 |
| commit | 41e66fa28fefc055ad2bf7acd1fbcfa94490ac97 (patch) | |
| tree | 992c31d57c29ddba40a659e11975d044a4976d52 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 662981bbda291b8921100e42efa8a46c547dc08c (diff) | |
| download | linux-41e66fa28fefc055ad2bf7acd1fbcfa94490ac97.tar.xz | |
net: mscc: ocelot: use a switch-case statement in ocelot_netdevice_event
Make ocelot's net device event handler more streamlined by structuring
it in a similar way with others. The inspiration here was
dsa_slave_netdevice_event.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
