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

From: Alex Elder
Date: Tue Apr 14 2020 - 08:27:57 EST


On 4/14/20 3:53 AM, Markus Elfring wrote:
> â
>> +++ 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â?

+1

>
> Regards,
> Markus
>