aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2020-04-20 17:16:01 -0600
committerBjorn Andersson <[email protected]>2020-04-20 19:29:59 -0700
commit226f5db4212438cdfe1a94652d74c6c01788a837 (patch)
tree215c1f147f692801cc7031a71a65a40607db4949 /lib/mpi/mpi-mul.c
parentbf860aa176d0104cfbaf863acbadf5548f1172c2 (diff)
remoteproc: Get rid of tedious error path
Get rid of tedious error management by moving firmware and operation allocation after calling device_initialize(). That way we take advantage of the automatic call to rproc_type_release() to cleanup after ourselves when put_device() is called. Signed-off-by: Mathieu Poirier <[email protected]> Reviewed-by: Alex Elder <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Suman Anna <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions