net: dsa: microchip: clean up code
authorTristram Ha <Tristram.Ha@microchip.com>
Tue, 20 Nov 2018 23:55:06 +0000 (15:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Nov 2018 04:57:12 +0000 (20:57 -0800)
commit9bc981c35530c136e61934f682dfef765fadcb5a
tree62588aab603acf73efbb9f38c4aa166795d06d78
parent5b79c72e965a21da08f1e498649d514cdb82712e
net: dsa: microchip: clean up code

Clean up code according to patch check suggestions.

Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz_common.c