Re: [PATCH net-next v3 01/11] net: phy: get rid of redundant is_c45 information

From: Andrew Lunn
Date: Tue Jul 18 2023 - 13:26:00 EST


On Wed, Jul 12, 2023 at 05:07:01PM +0200, Michael Walle wrote:
> phy_device_create() will be called with is_c45 and c45_ids. If c45_ids
> are set, is_c45 is (usually) true. Change the only caller which do
> things differently, then drop the is_c45 check in phy_device_create().
>
> This is a preparation patch to replace the is_c45 boolean with an enum
> which will indicate how the PHY is accessed (by c22, c45 or
> c45-over-c22).
>
> Signed-off-by: Michael Walle <mwalle@xxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew