diff options
| author | 2019-03-08 22:08:31 +0800 | |
|---|---|---|
| committer | 2019-03-19 15:37:44 +0100 | |
| commit | ac0cdb3d990108df795b676cd0d0e65ac34b2273 (patch) | |
| tree | 41945a19f21fef5961071a5bb347688217e34173 /samples/git:/ssh: | |
| parent | tty: mxs-auart: fix a potential NULL pointer dereference (diff) | |
sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
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@huawei.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
