[net-next PATCH v1 2/7] net: phy: Introduce phy related fwnode functions

Calvin Johnson calvin.johnson at oss.nxp.com
Wed Sep 30 23:58:54 EDT 2020


On Wed, Sep 30, 2020 at 03:03:49PM -0700, David Miller wrote:
> From: Calvin Johnson <calvin.johnson at oss.nxp.com>
> Date: Wed, 30 Sep 2020 21:34:25 +0530
> 
> > +struct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode)
> > +{
> > +	struct device *d;
> > +	struct mdio_device *mdiodev;
> 
> Please use reverse christmas tree ordering for local variables.

Sure. In next rev, I'll make sure all the patches follow this.

Thanks
Calvin



More information about the linux-arm-kernel mailing list