diff options
author | Mathieu Poirier <[email protected]> | 2020-04-20 17:16:01 -0600 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-04-20 19:29:59 -0700 |
commit | 226f5db4212438cdfe1a94652d74c6c01788a837 (patch) | |
tree | 215c1f147f692801cc7031a71a65a40607db4949 /lib/mpi/mpi-mul.c | |
parent | bf860aa176d0104cfbaf863acbadf5548f1172c2 (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