remoteproc: Get rid of tedious error path
…
Quoted 1 line
+++
b/drivers/remoteproc/remoteproc_core.c
…
Quoted 1 line
(quoted diff) +0
-0@@ -2105,11 +2104,8 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,
…
Review
Quoted 2 lines
(quoted diff) +2
-0+out: + put_device(&rproc->dev);
How do you think about to use the label “put_device”?
Regards,
Markus
Quoted 9 lines · Markus Elfring
…
Quoted 1 line
+++
b/drivers/remoteproc/remoteproc_core.c…
Quoted 1 line
(quoted diff) +0
-0@@ -2105,11 +2104,8 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,…
Review
Quoted 2 lines
(quoted diff) +2
-0+out: + put_device(&rproc->dev);How do you think about to use the label “put_device”?
+1
Quoted 4 lines
Regards,
Markus