summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/microchip/ksz8795_reg.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2020-12-01 21:44:58 +0100
committerJakub Kicinski <kuba@kernel.org>2020-12-02 17:16:29 -0800
commit7fc32b41fef6351527d946dd62ac865e70fc636d (patch)
treee179ee315d28e822ed8be1a66fd99d97aae95e75 /drivers/net/dsa/microchip/ksz8795_reg.h
parent68a1b676db52435725deec33389cb362bb64c6e6 (diff)
net: dsa: microchip: ksz8795: move variable assignments from detect to init
This patch moves all variable assignments to the init function. It leaves the detect function for its single purpose to detect which chip version is found. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz8795_reg.h')
0 files changed, 0 insertions, 0 deletions