[PATCH v1 4/7] net/phy: marvell: change spacing to be more similar to the Linux driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 drivers/net/phy/marvell.c | 56 +++++++++++++++++++++++------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index ee95c2db570c..e01538067622 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,
 	},
 };
 
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux