summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
diff options
context:
space:
mode:
authorhuangjunxian <huangjunxian6@hisilicon.com>2022-09-17 12:38:43 +0200
committerJakub Kicinski <kuba@kernel.org>2022-09-22 03:25:20 +0200
commit7fe85bb3af4e90561ff36e0fa8697b56c3108800 (patch)
tree28da68b9985fb8787962c7e6510787e6ab5b962d /drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
parentnet: ll_temac: move trailing statements to next line (diff)
downloadlinux-7fe85bb3af4e90561ff36e0fa8697b56c3108800.tar.xz
linux-7fe85bb3af4e90561ff36e0fa8697b56c3108800.zip
net: ll_temac: axienet: delete unnecessary blank lines and spaces
Cleaning some static warnings of indent. Signed-off-by: huangjunxian <huangjunxian6@hisilicon.com> Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com> Reviewed-by: Harini Katakam <harini.katakam@amd.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
index 2772a79cd3ed..0b3b6935c558 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c
@@ -126,7 +126,7 @@ static int axienet_mdio_write(struct mii_bus *bus, int phy_id, int reg,
return ret;
}
- axienet_iow(lp, XAE_MDIO_MWD_OFFSET, (u32) val);
+ axienet_iow(lp, XAE_MDIO_MWD_OFFSET, (u32)val);
axienet_iow(lp, XAE_MDIO_MCR_OFFSET,
(((phy_id << XAE_MDIO_MCR_PHYAD_SHIFT) &
XAE_MDIO_MCR_PHYAD_MASK) |