diff options
author | 2023-05-17 11:37:47 +0100 | |
---|---|---|
committer | 2023-05-18 19:52:31 -0700 | |
commit | 418c1214741cf3ac5e420382a85c4f8a40586024 (patch) | |
tree | 5d3e6fac5391ae6ce18acd0b23b7dcf92d4a1098 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-418c1214741cf3ac5e420382a85c4f8a40586024.tar.xz wireguard-linux-418c1214741cf3ac5e420382a85c4f8a40586024.zip |
net: sfp: add helper to modify signal states
There are a couple of locations in the code where we modify
sfp->state, and then call sfp_set_state(, sfp->state) to update
the outputs/soft state to control the module. Provide a helper
which takes a mask and new state so that this is encapsulated in
one location.
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions