Re: [PATCH 4/4] remoteproc: Get rid of tedious error path

From: Markus Elfring
Date: Tue Apr 14 2020 - 04:53:21 EST


â
> +++ b/drivers/remoteproc/remoteproc_core.c
â
> @@ -2105,11 +2104,8 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,
â
> +out:
> + put_device(&rproc->dev);

How do you think about to use the label âput_deviceâ?

Regards,
Markus