[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <996c17ea-642c-2c94-5380-ce12508e4050@gmail.com>
Date: Fri, 5 Mar 2021 20:24:01 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Philipp Zabel <p.zabel@...gutronix.de>, netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <olteanv@...il.com>
Subject: Re: [PATCH] net: dsa: bcm_sf2: simplify optional reset handling
On 3/5/2021 1:14 AM, Philipp Zabel wrote:
> As of commit bb475230b8e5 ("reset: make optional functions really
> optional"), the reset framework API calls use NULL pointers to describe
> optional, non-present reset controls.
>
> This allows to unconditionally return errors from
> devm_reset_control_get_optional_exclusive.
>
> Signed-off-by: Philipp Zabel <p.zabel@...gutronix.de>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists