[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210211.141307.764092492929918552.davem@davemloft.net>
Date: Thu, 11 Feb 2021 14:13:07 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: nobuhiro1.iwamatsu@...hiba.co.jp
Cc: kuba@...nel.org, robh+dt@...nel.org, peppe.cavallaro@...com,
alexandre.torgue@...com, joabreu@...opsys.com,
punit1.agrawal@...hiba.co.jp, yuji2.ishikawa@...hiba.co.jp,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] net: stmmac: Add Toshiba Visconti SoCs glue driver
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...hiba.co.jp>
Date: Thu, 11 Feb 2021 01:29:52 +0900
> +static int visconti_eth_init_hw(struct platform_device *pdev, struct plat_stmmacenet_data *plat_dat)
> +{
> + struct visconti_eth *dwmac;
> + unsigned int reg_val, clk_sel_val;
Please use reverse christmas tree ordering for local variable declarations.
> +static int visconti_eth_clock_probe(struct platform_device *pdev,
> + struct plat_stmmacenet_data *plat_dat)
> +{
> + int err;
> + struct visconti_eth *dwmac;
Likewise.
> +static int visconti_eth_clock_remove(struct platform_device *pdev)
> +{
> + struct net_device *ndev = platform_get_drvdata(pdev);
> + struct stmmac_priv *priv = netdev_priv(ndev);
> + struct visconti_eth *dwmac = get_stmmac_bsp_priv(&pdev->dev);
Likewise.
Thanks.
Powered by blists - more mailing lists