[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180729.131621.773833672945325604.davem@davemloft.net>
Date: Sun, 29 Jul 2018 13:16:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sean.wang@...iatek.com
Cc: john@...ozen.org, nbd@...nwrt.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH net-next 2/2] net-next: mediatek: cleanup unnecessary
get chip id and its user
From: <sean.wang@...iatek.com>
Date: Sat, 28 Jul 2018 13:35:56 +0800
> From: Sean Wang <sean.wang@...iatek.com>
>
> Since driver is devicetree-based, all device type and charateristic can be
> determined by the compatible string and its data. It's unnecessary to
> create another dependent function to check chip ID and then decide whether
> the specific funciton is being supported on a certain device. It can be
> totally replaced by the existing flag, so a cleanup is made by removing
> the function and the only user, HWLRO.
>
> MT2701 also have a missing HWLRO support in old code, so add it the same
> patch.
>
> Signed-off-by: Sean Wang <sean.wang@...iatek.com>
Applied.
Powered by blists - more mailing lists