diff options
| author | 2025-08-05 11:33:37 +0200 | |
|---|---|---|
| committer | 2025-08-10 21:11:38 +0100 | |
| commit | 692abf80ce8443a4ded8cade25a1acf772436293 (patch) | |
| tree | 6bdb4513f4ba3ed5d3868c571a0218a45b3de92c /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge existing fixes from spi/for-6.17 into new branch (diff) | |
| download | wireguard-linux-692abf80ce8443a4ded8cade25a1acf772436293.tar.xz wireguard-linux-692abf80ce8443a4ded8cade25a1acf772436293.zip | |
spi: nxp-fspi: Remove error print for devm_add_action_or_reset()
When `devm_add_action_or_reset()` fails, it is due to a failed memory
allocation and will thus return `-ENOMEM`. `dev_err_probe()` doesn't do
anything when error is `-ENOMEM`. Therefore, remove the useless call to
`dev_err_probe()` when `devm_add_action_or_reset()` fails, and just
return the value instead.
Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
Link: https://patch.msgid.link/pndqzxqkt8u.a.out@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
