[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190311121918.GD2412@kadam>
Date: Mon, 11 Mar 2019 15:19:18 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Mao Wenan <maowenan@...wei.com>
Cc: gregkh@...uxfoundation.org, jslaby@...e.com,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, vz@...ia.com
Subject: Re: [PATCH serial v3] sc16is7xx: missing unregister/delete driver on
error in sc16is7xx_init()
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@...wei.com>
> Reviewed-by: Vladimir Zapolskiy <vz@...ia.com>
This looks nice. Thanks!
Reviewed-by: Dan Carpeter <dan.carpenter@...cle.com>
regards,
dan carpenter
Powered by blists - more mailing lists