[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190602.130118.1624703340305098863.davem@davemloft.net>
Date: Sun, 02 Jun 2019 13:01:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: biao.huang@...iatek.com
Cc: joabreu@...opsys.com, peppe.cavallaro@...com,
alexandre.torgue@...com, mcoquelin.stm32@...il.com,
matthias.bgg@...il.com, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org, yt.shen@...iatek.com,
jianguo.zhang@...iatek.com, boon.leong.ong@...el.com,
andrew@...n.ch
Subject: Re: [RESEND, PATCH 1/4] net: stmmac: dwmac-mediatek: enable
Ethernet power domain
From: Biao Huang <biao.huang@...iatek.com>
Date: Thu, 30 May 2019 17:43:15 +0800
> @@ -364,6 +371,15 @@ static int mediatek_dwmac_probe(struct platform_device *pdev)
> return 0;
> }
>
> +static int mediatek_dwmac_remove(struct platform_device *pdev)
> +{
> + int ret;
> +
> + ret = stmmac_pltfr_remove(pdev);
> +
> + return ret;
> +}
> +
> static const struct of_device_id mediatek_dwmac_match[] = {
> { .compatible = "mediatek,mt2712-gmac",
> .data = &mt2712_gmac_variant },
> @@ -374,7 +390,7 @@ static int mediatek_dwmac_probe(struct platform_device *pdev)
>
> static struct platform_driver mediatek_dwmac_driver = {
> .probe = mediatek_dwmac_probe,
> - .remove = stmmac_pltfr_remove,
> + .remove = mediatek_dwmac_remove,
> .driver = {
> .name = "dwmac-mediatek",
> .pm = &stmmac_pltfr_pm_ops,
This half of your patch has no effect and seems completely unnecessary.
Please remove it.
Powered by blists - more mailing lists