diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2023-12-19 13:59:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-23 01:18:59 +0000 |
commit | a8150c9fb1d5c7ea190842ed8e5612ece0017e23 (patch) | |
tree | 4073926e86413f03f7b4f5306872c872e6607377 /drivers/hid/hid-gt683r.c | |
parent | f6da276479c63ca29774bc331a537b92f0550c45 (diff) |
dpaa2-switch: reorganize the [pre]changeupper events
Create separate functions, dpaa2_switch_port_prechangeupper and
dpaa2_switch_port_changeupper, to be called directly when a DPSW port
changes its upper device.
This way we are not open-coding everything in the main event callback
and we can easily extent, for example, with bond offload.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-gt683r.c')
0 files changed, 0 insertions, 0 deletions