Re: [net-next v2 6/9] net: ethernet: broadcom: bcm63xx_enet: Convert to devm_clk_get_enabled()

Jakub Kicinski
2024-08-26T22:15:21Z

On Fri, 23 Aug 2024 01:21:18 -0600 Yangtao Li wrote:
> diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
> index 3c0e3b9828be..6e288cee2c35 100644
> --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
> +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
> @@ -1718,6 +1718,7 @@ static int bcm_enet_probe(struct platform_device *pdev)
> struct bcm63xx_enet_platform_data *pd;

move the local clock variables here, keep lines longest to shortest

> int irq, irq_rx, irq_tx;
> struct mii_bus *bus;
> + struct clk *phy_clk, *mac_clk;