diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-10-19 23:49:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-20 16:41:20 +0300 |
commit | 641e3fd1a038c68045bbf89d78502f4b4bbc7284 (patch) | |
tree | 5a4acdbf1474685864e8b96b7068ba0b8cf61863 /drivers/net/ethernet/stmicro | |
parent | 323e9a957df89cf7240b3ce4952f2d40e426bd52 (diff) | |
download | linux-641e3fd1a038c68045bbf89d78502f4b4bbc7284.tar.xz |
nfc: st95hf: Make spi remove() callback return zero
If something goes wrong in the remove callback, returning an error code
just results in an error message. The device still disappears.
So don't skip disabling the regulator in st95hf_remove() if resetting
the controller via spi fails. Also don't return an error code which just
results in two error messages.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions