summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-01-11 16:59:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-13 07:54:10 +0100
commita1bfa62c2088671115b0c9e472676c56d346e086 (patch)
tree76ee88bd723482f27692e4a43a7a238a512cf41b
parent21b30a200977bd397704eab778bc52e921b2f3e3 (diff)
downloadbarebox-a1bfa62c2088671115b0c9e472676c56d346e086.tar.gz
net/phy: marvell: change spacing to be more similar to the Linux driver
To make the barebox driver more similar to the Linux driver, only use a single space before the = in member initialisation. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/phy/marvell.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index ee95c2d..e015380 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -239,40 +239,40 @@ static int m88e1318s_config_init(struct phy_device *phydev)
static struct phy_driver marvell_drivers[] = {
{
- .phy_id = MARVELL_PHY_ID_88E1121R,
- .phy_id_mask = MARVELL_PHY_ID_MASK,
- .drv.name = "Marvell 88E1121R",
- .features = PHY_GBIT_FEATURES,
- .config_init = m88e1121_config_init,
- .config_aneg = genphy_config_aneg,
- .read_status = marvell_read_status,
+ .phy_id = MARVELL_PHY_ID_88E1121R,
+ .phy_id_mask = MARVELL_PHY_ID_MASK,
+ .drv.name = "Marvell 88E1121R",
+ .features = PHY_GBIT_FEATURES,
+ .config_init = &m88e1121_config_init,
+ .config_aneg = &genphy_config_aneg,
+ .read_status = &marvell_read_status,
},
{
- .phy_id = MARVELL_PHY_ID_88E1318S,
- .phy_id_mask = MARVELL_PHY_ID_MASK,
- .drv.name = "Marvell 88E1318S",
- .features = PHY_GBIT_FEATURES,
- .config_init = m88e1318s_config_init,
- .config_aneg = genphy_config_aneg,
- .read_status = marvell_read_status,
+ .phy_id = MARVELL_PHY_ID_88E1318S,
+ .phy_id_mask = MARVELL_PHY_ID_MASK,
+ .drv.name = "Marvell 88E1318S",
+ .features = PHY_GBIT_FEATURES,
+ .config_init = &m88e1318s_config_init,
+ .config_aneg = &genphy_config_aneg,
+ .read_status = &marvell_read_status,
},
{
- .phy_id = MARVELL_PHY_ID_88E1543,
- .phy_id_mask = MARVELL_PHY_ID_MASK,
- .drv.name = "Marvell 88E1543",
- .features = PHY_GBIT_FEATURES,
- .config_init = m88e1540_config_init,
- .config_aneg = genphy_config_aneg,
- .read_status = marvell_read_status,
+ .phy_id = MARVELL_PHY_ID_88E1543,
+ .phy_id_mask = MARVELL_PHY_ID_MASK,
+ .drv.name = "Marvell 88E1543",
+ .features = PHY_GBIT_FEATURES,
+ .config_init = &m88e1540_config_init,
+ .config_aneg = &genphy_config_aneg,
+ .read_status = &marvell_read_status,
},
{
- .phy_id = MARVELL_PHY_ID_88E1540,
- .phy_id_mask = MARVELL_PHY_ID_MASK,
- .drv.name = "Marvell 88E1540",
- .features = PHY_GBIT_FEATURES,
- .config_init = m88e1540_config_init,
- .config_aneg = genphy_config_aneg,
- .read_status = marvell_read_status,
+ .phy_id = MARVELL_PHY_ID_88E1540,
+ .phy_id_mask = MARVELL_PHY_ID_MASK,
+ .drv.name = "Marvell 88E1540",
+ .features = PHY_GBIT_FEATURES,
+ .config_init = &m88e1540_config_init,
+ .config_aneg = &genphy_config_aneg,
+ .read_status = &marvell_read_status,
},
};