diff options
| author | Philipp Zabel <p.zabel@pengutronix.de> | 2021-03-05 12:14:48 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-08 22:51:36 +0300 |
| commit | bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22 (patch) | |
| tree | d749390432ac0e89ccaeab481229b9a5a6195bfe /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | 9270bbe258c8d1e22fadf4839e762ac937d1ec62 (diff) | |
| download | linux-bf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22.tar.xz | |
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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
