diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2019-06-20 16:50:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-23 21:11:11 +0300 |
commit | c9acece064e3f0042c50162d3405759243225dd6 (patch) | |
tree | e9945d5733e3a9681445f56eaf955719e9ca14b0 /drivers/net/arcnet | |
parent | 3e5bfb189e1a65df132fd0e3fa00fbb6feec1431 (diff) | |
download | linux-c9acece064e3f0042c50162d3405759243225dd6.tar.xz |
net: dsa: mv88e6xxx: introduce helpers for handling chip->reg_lock
This is a no-op that simply moves all locking and unlocking of
->reg_lock into trivial helpers. I did that to be able to easily add
some ad hoc instrumentation to those helpers to get some information
on contention and hold times of the mutex. Perhaps others want to do
something similar at some point, so this frees them from doing the
'sed -i' yoga, and have a much smaller 'git diff' while fiddling.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions