commit | 7fc32b41fef6351527d946dd62ac865e70fc636d | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Tue Dec 01 21:44:58 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Dec 02 17:16:29 2020 -0800 |
tree | e179ee315d28e822ed8be1a66fd99d97aae95e75 | |
parent | 68a1b676db52435725deec33389cb362bb64c6e6 [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>