Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-08

Re: [PATCH] net: dsa: bcm_sf2: simplify optional reset handling

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-03-06 04:25:01


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@pengutronix.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help