diff options
| author | Mao Wenan <maowenan@huawei.com> | 2019-03-08 22:08:31 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-19 15:37:44 +0100 |
| commit | ac0cdb3d990108df795b676cd0d0e65ac34b2273 (patch) | |
| tree | 41945a19f21fef5961071a5bb347688217e34173 /tools/perf/scripts/python | |
| parent | tty: mxs-auart: fix a potential NULL pointer dereference (diff) | |
| download | linux-ac0cdb3d990108df795b676cd0d0e65ac34b2273.tar.gz linux-ac0cdb3d990108df795b676cd0d0e65ac34b2273.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
