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