[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56F27612.7080001@laposte.net>
Date: Wed, 23 Mar 2016 11:55:14 +0100
From: Sebastian Frias <sf84@...oste.net>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Mason <slash.tmp@...e.fr>
CC: Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>,
Daniel Mack <daniel@...que.org>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
lkml <linux-kernel@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Mans Rullgard <mans@...sr.com>,
Fabio Estevam <festevam@...il.com>,
Martin Blumenstingl <martin.blumenstingl@...il.com>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB
Hi Sergei,
On 03/23/2016 11:39 AM, Sergei Shtylyov wrote:
>> gpiod_reset = devm_gpiod_get_optional(dev, "reset",
>> GPIOD_OUT_HIGH);
>
> We shouldn't call _optional() then, should we?
I could imagine the original intention was to be backward compatible.
Indeed, if this call is not optional, systems using AT8030 and lacking a
reset line on DT will have their behaviour affected.
NOTE: they would still work because even if this driver fails to bind a
generic one will take over.
Best regards,
Sebastian
Powered by blists - more mailing lists