summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorWaqar Hameed <waqar.hameed@axis.com>2025-08-05 11:33:32 +0200
committerMark Brown <broonie@kernel.org>2025-08-10 21:09:14 +0100
commit9d6a51651faa577e5d2be9d67915b7621c5c589a (patch)
tree70ac1af69bd71b36ec2b0c14f192ea28f5d671bb /rust/helpers/platform.c
parent8ed2dca4df2297177e0edcb7e0c72ef87f3fd81a (diff)
ASoC: SOF: imx: 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> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/pndpldam7tf.a.out@axis.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions