On Mon, Mar 11, 2019 at 05:12:03PM +0800, maowenan wrote:
>
>
> On 2019/3/11 15:46, Dan Carpenter wrote:
> > On Sat, Mar 09, 2019 at 10:50:37AM +0800, Mao Wenan wrote:
> >> Add the missing uart_unregister_driver() and i2c_del_driver() before return
> >> from sc16is7xx_init() in the error
On Sat, Mar 09, 2019 at 10:50:37AM +0800, Mao Wenan wrote:
> Add the missing uart_unregister_driver() and i2c_del_driver() before return
> from sc16is7xx_init() in the error handling case.
>
> Reviewed-by: Vladimir Zapolskiy
> Signed-off-by: Mao Wenan
> ---
> v1->v2: fix compile warning if
Add the missing uart_unregister_driver() and i2c_del_driver() before return
from sc16is7xx_init() in the error handling case.
Reviewed-by: Vladimir Zapolskiy
Signed-off-by: Mao Wenan
---
v1->v2: fix compile warning if CONFIG_SERIAL_SC16IS7XX_SPI is not exist.
drivers/tty/serial/sc16is7xx.c |
3 matches
Mail list logo