[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmqGwjGt/Fbeu2kJ@lunn.ch>
Date: Thu, 28 Apr 2022 14:21:22 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Josua Mayer <josua@...id-run.com>
Cc: netdev@...r.kernel.org, alvaro.karsz@...id-run.com,
Michael Hennerich <michael.hennerich@...log.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH v3 2/3] net: phy: adin: add support for clock output
> +static int adin_config_clk_out(struct phy_device *phydev)
> +{
> + struct device *dev = &phydev->mdio.dev;
> + const char *val = NULL;
> + u8 sel = 0;
> +
> + device_property_read_string(dev, "adi,phy-output-clock", &val);
> + if(!val) {
I'm pretty sure the coding style requires a space between if and (.
Did you use checkpatch on this?
Andrew
Powered by blists - more mailing lists