Re: [PATCH serial v3] sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()

From: maowenan
Date: Fri Mar 15 2019 - 09:56:34 EST


ping...

On 2019/3/11 20:19, Dan Carpenter wrote:
> On Mon, Mar 11, 2019 at 05:39:59PM +0800, Mao Wenan wrote:
>> Add the missing uart_unregister_driver() and i2c_del_driver() before
>> return from sc16is7xx_init() in the error handling case.
>>
>> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
>> Reviewed-by: Vladimir Zapolskiy <vz@xxxxxxxxx>
>
> This looks nice. Thanks!
>
> Reviewed-by: Dan Carpeter <dan.carpenter@xxxxxxxxxx>
>
> regards,
> dan carpenter
>
>
>