diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2021-04-27 09:09:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-27 14:13:23 -0700 |
commit | c2ac4d2ac5347a0d2aaabf3eca5ba2478d0617a9 (patch) | |
tree | 40b3adeec3158200ff78f19fa50efe5f2c082ad4 /drivers/hid/hid-lenovo.c | |
parent | 4b5baca0403e2b6308e68938dc4d94912f5b8e28 (diff) |
net: dsa: microchip: ksz8795: move cpu_select_interface to extra function
This patch moves the cpu interface selection code to a individual
function specific for ksz8795. It will make it simpler to customize the
code path for different switches supported by this driver.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-lenovo.c')
0 files changed, 0 insertions, 0 deletions