Home
last modified time | relevance | path

Searched hist:"7 fc32b41fef6351527d946dd62ac865e70fc636d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz8795.cdiff 7fc32b41fef6351527d946dd62ac865e70fc636d Tue Dec 01 14:44:58 CST 2020 Michael Grzeschik <m.grzeschik@pengutronix.de> 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>