diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2021-03-05 10:14:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-08 11:51:36 -0800 |
commit | bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22 (patch) | |
tree | d749390432ac0e89ccaeab481229b9a5a6195bfe /lib/nlattr.c | |
parent | 9270bbe258c8d1e22fadf4839e762ac937d1ec62 (diff) | |
download | linux-stable-bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22.tar.gz linux-stable-bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22.tar.bz2 linux-stable-bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22.zip |
net: dsa: bcm_sf2: simplify optional reset handling
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions