Skip to content

Commit 59b888c

Browse files
committed
format
1 parent 6c9e5b9 commit 59b888c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/drivers/phy/ofw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ rt_err_t rt_ofw_get_phyid(struct rt_ofw_node *np,rt_uint32_t *id)
118118
ret = sscanf(phy_id,"ethernet-phy-id%4x.%4x",&upper, &lower);
119119
if(ret != 2)
120120
return -RT_ERROR;
121-
121+
122122
*id = ((upper & 0xffff) << 16) | (lower & 0xffff);
123123
return RT_EOK;
124124

@@ -145,7 +145,7 @@ struct rt_phy_device *rt_ofw_create_phy(struct mii_bus *bus,struct rt_ofw_node *
145145
}
146146

147147
LOG_D("Found a PHY id: 0x%x\n", id);
148-
148+
149149
dev = rt_phy_device_create(bus, phyaddr, id, RT_FALSE);
150150

151151
if(dev)

components/drivers/phy/phy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,4 +574,4 @@ static int rt_phy_bus_init(void)
574574
return 0;
575575
}
576576
INIT_CORE_EXPORT(rt_phy_bus_init);
577-
#endif
577+
#endif

0 commit comments

Comments
 (0)