summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2021-03-05 12:14:48 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-08 22:51:36 +0300
commitbf9279cd63dcc144b2a3c4c76d8b6b4c30b05c22 (patch)
treed749390432ac0e89ccaeab481229b9a5a6195bfe /drivers/net/ethernet/chelsio
parent9270bbe258c8d1e22fadf4839e762ac937d1ec62 (diff)
downloadlinux-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 'drivers/net/ethernet/chelsio')
0 files changed, 0 insertions, 0 deletions