[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190115014842.GD8882@lunn.ch>
Date: Tue, 15 Jan 2019 02:48:42 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Florian Fainelli <f.fainelli@...il.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>
Subject: Re: [PATCH] net: phy: fixed-phy: Drop GPIO from fixed_phy_add()
> struct phy_device *fixed_phy_register(unsigned int irq,
> struct fixed_phy_status *status,
> - int link_gpio,
> struct device_node *np)
> {
> struct fixed_mdio_bus *fmb = &platform_fmb;
> struct phy_device *phy;
> + struct gpio_desc *gpiod = NULL;
> int phy_addr;
> int ret;
Hi Linus
Networking code uses reverse christmas tree. Please move gpiod higher
up by one line.
Thanks
Andrew
Powered by blists - more mailing lists